The first two days of deployment. The Netcore project, firstly, the production environment domain name is not accessible, and then to. Netcore Project IIS Deployment 502.5, in the inexplicable 500, in the troubleshooting of the project deployment problem when the DOS command used to organize, I believe that will be used later.
1.nslookup[commonly used in DNS queries]
You can specify the type of query, and you can check the lifetime of the DNS record and specify which DNS server to use for interpretation.
nslookup [hostname]
2.tracert [track IP address via router]
Use the tracert command in a command prompt (CMD) to determine the path that is selected when an IP packet accesses a target
TRACERT [hostname]
3.netstat [view native port usage]
Netstat-a #查看本机所有占用的端口
Netstat-ano|findstr [What to look for] #根据特定信息查看端口
4.net [Start or close the native service service]
NET Start/stop [servername] #cmd requires Administrator privileges
NET user #查看本机用户
5.sc [Management Services]
SC delete/query/stop/start/pause/config [service-name]
6. View service Status
WMIC Service [DisplayName]
7.SystemInfo [view native hardware information]
SystemInfo
8.tasklist[fuzzy query native process]
tasklist/m shell* #根据某个信息查询进程信息
9.taskkill[end process based on process name/process ID]
Taskkill/pid|/im #进程号 or process name
10..netcore restarting the IIS service
net stop was/y net start w3svc
Common Windows DOS command project deployments often use the