如果端口被占用啟動會報錯:
o.apache.catalina.core.StandardService? : Failed to start connector [Connector[HTTP/1.1-8080]]
決解辦法:
查找哪個程序占用了8080端口
查找8080端口:
lsof -i:8080
然后根據(jù)PID殺進(jìn)程:
sudo kill -9 3963
如果端口被占用啟動會報錯:
o.apache.catalina.core.StandardService? : Failed to start connector [Connector[HTTP/1.1-8080]]
決解辦法:
查找哪個程序占用了8080端口
查找8080端口:
lsof -i:8080
然后根據(jù)PID殺進(jìn)程:
sudo kill -9 3963