您的位置: 首页 > 文章 > Identify and stop the process that listening on port 80 or configure this application to listen on Identify and stop the process that listening on port 80 or configure this application to listen on 分类: 文章 • 2024-01-31 20:03:40 下面我们来说说怎么解决端口被占用的问题: 方法一:杀死进程 1.windows+r打开windows窗口,输入cmd 2.输入netstat -ano 3.找到端口,记住pid 4.输入taskkill /pid 7528 -f 杀掉端口 方法2:修改端口号 1.打开application.yml文件(或者application.properties),修改端口号为8081 2.然后浏览器输入的时候就得用8081端口号了 比如:http://localhost:8081/xxx