You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2006/09/14 16:52:02 UTC

DO NOT REPLY [Bug 40010] - Server stops responding, and Connection refused: connect to listener on 0.0.0.0:80 in log.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40010>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40010





------- Additional Comments From andrew.tulloch@maximalls.com  2006-09-14 14:52 -------
It seems to be related it the Listen Directive and how jails handle the address
0.0.0.0 (or not).

Default httpd.conf will have "Listen 80", which apache then for dummy
connections  (I think) tries connect to 0.0.0.0:80, this address is not remapped
by FreeBSD's jail to the jail's IP and it just tries to connect to the base
FreeBSD system and since you're not running apache there you get connection refused.

I noticed these logs entries on a jail on a new server and could reproduce them
hitting it with ab -n 1000 -c 100 http://servers/static-page.html

If you change the "Listen 80" directive to be "Listen your.jail.ip:80" The
problem seems to go away.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org