gpt4 book ai didi

apache-tomcat-6.0.30 套接字绑定(bind)失败/协议(protocol)处理程序启动失败

转载 作者:行者123 更新时间:2023-11-28 22:20:25 26 4
gpt4 key购买 nike

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 身份启动,绑定(bind)到端口 80,然后放到非-特权用户。

关于apache-tomcat-6.0.30 套接字绑定(bind)失败/协议(protocol)处理程序启动失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22694114/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com