如果端口被占用启动会报错:
o.apache.catalina.core.StandardService : Failed to start connector [Connector[HTTP/1.1-8080]]
决解办法:
查找哪个程序占用了8080端口
查找8080端口:
lsof -i:8080
然后根据PID杀进程:
sudo kill -9 3963
如果端口被占用启动会报错:
o.apache.catalina.core.StandardService : Failed to start connector [Connector[HTTP/1.1-8080]]
决解办法:
查找哪个程序占用了8080端口
查找8080端口:
lsof -i:8080
然后根据PID杀进程:
sudo kill -9 3963