Apache (LinuxRedHat4.1.x)无法从消息开始:“已在使用的地址: make_sock:无法绑定到地址”。
# /etc/init.d/httpd start
Starting httpd: (98)Address already in use:
make_sock: could not bind to address 0.0.0.0:8000
no listening sockets available, shutting down
Unable to open logs
这是当我尝试在没有激活Apache服务的情况下运行Apache时显示的内容:
>Status change detected: running
>Status change detected: stopped
>Error: Apache shutdown unexpectedly.
>This may be due to a blocked port, missing dependencies,
>improper privileges, a crash, or a shutdown by another method.
>Check the "
我在本地主机上开发了web应用程序,它工作得很好。但是当我在服务器上部署它时,当我尝试创建用户时,它得到了内部服务器错误
当我使用./catalina.sh run运行它时,我得到了这样的结果
12-May-2018 22:48:17.984 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments wa
03:32:35[Apache]Problem detected!
03:32:35[Apache]Port 80 in use by "Unable to open process" with PID 4!
03:32:35[Apache]Apache WILL NOT start without the configured ports free!
03:32:35[Apache]You need to uninstall/disable/reconfigure the blocking application
03:32:35[Apache]or reconfigu
我在CentOS7和Tomcat 8中使用了实例。Tomcat服务器可以很好地处理端口8080,但是当我将端口更改为80时会出现套接字异常。猫的例外是,
org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-80]]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:112)
at org.apache.catalina.core.StandardServ
我已经更改了其他线程上发布的端口httpd-ssl.conf:Listen 8080,ServerName localhost:8080
也编辑了httpd-ssl.conf:Listen 4433,<VirtualHost _default_:4433> ,ServerName www.example.com:4433
我不明白,因为Apache正在启动,但只有在这些错误消息之后...只是想知道这样放着好不好,以及什么会导致这个问题。
[Apache] Problem detected!
[Apache] Port 80 in use by "Unable to open
localhost:8080将高兴地将我发送到一个可爱的“它工作!”,但是localhost,或localhost:80,只会显示一个错误消息,拒绝连接。这是尽管在XAMPP中已经启用了端口转发,如图所示。
我不知道该怎么做.有小费吗?
为了澄清,如果你打算建议取消评论,我几乎肯定已经有了。下面是我当前的httpd.conf文件来证明它的样子:
#
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the s
当我在jenkins上运行我的测试时,它给出了以下错误,我正在使用http端口80和ssh端口22。测试在本地工作,任何帮助都将不胜感激。
- Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractP