On Wed, Mar 19, 2003 at 08:30:00AM -0500 or thereabouts, Ian Larsen seemed to write: > Thanks Andrey! > > A sockstat on the non-working server showed this: > > www httpd 694 3 tcp6 *:80 *:* > > while the working version shows: > > www httpd 694 3 tcp46 *:80 *:* > > It appears the non-working server is only aware of tcp6 protocol. > Is this a problem with my ethernet config? Other services are using tcp4. > Is there something in the apache configs that would cause this? >
This is a known problem with Apache and IPv6. I had it too. There are two solutions: 1) Tell the system to give IPv4 sockets as well as IPv6: # sysctl kern.net.inet6.ip6.v6only=0 2) Tell Apache to listen on IPv4 too: --snip httpd.conf-- # Listen on all IPv4 interfaces Listen 0.0.0.0:80 # If you have an IPv6 address, put the next line in # Listen [your:ip6:addr::here]:80 # Listen on IPv6 loopback Listen [::1]:80 --snip-- > Thanks again, > -Ian Larsen Hope this helps, Josh To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
