ubuntu:
Failed to initialize end point associated with ProtocolHandler ["ajp-bio-8009"]
java.net.BindException: Address already in use (Bind failed)
Failed to initialize connector
Failed to initialize end point associated with ProtocolHandler
1、在普通用户下 ps -aux | grep tomcat 然后 sudo kill -9 杀掉pid
2、sudo su 在超级用户下做再执行 1、
3、重启云主机
4、cd /opt/tomcat/bin 然后 ./catalina.sh run
macbook:
打开终端:
lsof -i:(冒号后面不能有空格)端口号
kill 对应的PID
网友评论