Socket bind failed
tomcat启动时:
严重: Failed to initialize end point associated with ProtocolHandler [“http-apr-8080”]
java.lang.Exception: Socket bind failed: [730048] ͨ³£ÿ¸öÌÓ×ֵØַ(ЭÒé/ÍøÂçµØַ/¶˿Ú)ֻÔÊÐíʹÓ
严重: Failed to initialize connector [Connector[HTTP/1.1-8086]]
org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-8080]]
解释:Socket bind failed- 套接字绑定失败
Failed to initialize component- 初始化组件加载失败
原因:tomcat的端口(8080)被占用
解决方法:1. 关闭现有的8080端口占用的进程
2 . 更改tomcat端口号:进入tomcat–config目录下打开server.xml找到端口号的配置,更改它。