1.win + R 打开cmd
2.IP地址,子码掩码,网关信息
ipconfig
3.计算机的IP地址,子码掩码,网关信息以及MAC地址
ifconfig/all
4.本机所有使用的端口
netstat -ano
5.查看某一个程序的端口
netstat -ano|findstr 8080
6.根据进程ID去任务管理器的服务,根据PID进行管理进程
7.根据进程名称进行匹配并关闭(一般用于windows下的nginx)
taskkill /f /t /im nginx.exe