美文网首页
端口 地址被占用

端口 地址被占用

作者: 小铭铭_7c47 | 来源:发表于2019-04-11 10:57 被阅读0次

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

相关文章

网友评论

      本文标题:端口 地址被占用

      本文链接:https://www.haomeiwen.com/subject/mmoziqtx.html