apache-tomcat-6.0.30 Socket绑定失败/协议处理程序启动失败


org.apache.coyote.http11.Http11AprProtocol init
SEVERE: Error initializing endpoint
java.lang.Exception: Socket bind failed: [730013] An attempt was made to access
a socket in a way forbidden by its access permissions.
org.apache.catalina.core.StandardService initialize
SEVERE: Failed to initialize connector [Connector[HTTP/1.1-80]]
LifecycleException:  Protocol handler initialization failed: java.lang.Exception
: Socket bind failed: [730013] An attempt was made to access a socket in a way f
orbidden by its access permissions.
INFO: Deploying configuration descriptor manager.xml
org.apache.coyote.http11.Http11AprProtocol start
SEVERE: Error starting endpoint
java.lang.Exception: Socket bind failed: [730013] An attempt was made to access
a socket in a way forbidden by its access permissions.
org.apache.catalina.core.StandardService start
SEVERE: Failed to start connector [Connector[HTTP/1.1-80]]
LifecycleException:  service.getName(): "Catalina";  Protocol handler start fail
ed: java.lang.Exception: Socket bind failed: [730013] An attempt was made to acc
ess a socket in a way forbidden by its access permissions.

运行apache-tomcat-6.0.30时出现错误

进程默认不能使用特权端口。请使用1024以上的端口。如果您想通过端口80访问Tomcat,请使用iptables或类似的方法将端口80映射到8080,或者使用提供的服务包装器(jsvc),它将以root身份启动,绑定到端口80,然后下降到非特权用户。

相关内容

最新更新