ap_proxy_connect_backend disabling worker for (127

2019-07-01 10:45发布

We have deployed a war file on tomcat6. We are facing a error

[Sat May 17 12:26:48 2014] [error] (110)Connection timed out: proxy: HTTP: attempt to connect to 127.0.0.1:8090 (127.0.0.1) failed
[Sat May 17 12:26:48 2014] [error] ap_proxy_connect_backend disabling worker for (127.0.0.1)
[Sat May 17 12:27:53 2014] [error] (110)Connection timed out: proxy: HTTP: attempt to connect to 127.0.0.1:8090 (127.0.0.1) failed
[Sat May 17 12:29:36 2014] [error] (110)Connection timed out: proxy: HTTP: attempt to connect to 127.0.0.1:8090 (127.0.0.1) failed

During this problem I am not able to telnet 8090 on server too.

This problem get solved once I restart MySql.

Help appreciated from expert.

Thanks Ranjeet Ranjan

3条回答
Explosion°爆炸
2楼-- · 2019-07-01 11:28

The solution to this is to add the "retry=0" parameter to your ProxyPass directives in your Apache HTTP server virtual host configurations so that it doesn't wait the default 60 seconds to retry.

E.g.

ProxyPass / http://backendserver:8080/ retry=0
查看更多
冷血范
3楼-- · 2019-07-01 11:39

You can use

setsebool -P httpd_can_network_connect on
查看更多
Luminary・发光体
4楼-- · 2019-07-01 11:42

Perhaps, the problem is the network. For example. If the IP of the webserver is 192.168.1.1 and the other webserver is 192.168.0.100, the servers are in a different subnet range. – Matias Colli Consultor IT

查看更多
登录 后发表回答