方法 1.更换application文件的端口号2.cmd 命令行删掉。 (1)打开cmd 命令窗口,输入netstat -ano|findstr 端口号命令,查询该端口对应的TCP号; (2)输入taskkill /t /f /im 端口号 命令,来关掉被占用的端口。