1、端口相关: 查看端口占用情况 netstat -an查找8080端口对应的进程号 netstat -aon| findstr “8080”杀死进程 taskkill /F /PID 10760 2、host文件 快速打开hosts文件 win+r;输入:drivers;打开文件夹etc;即可看到hosts文件cmd;type c:\windows\system32\drivers\etc\hosts