Date: Wed, 19 Mar 2003 15:35:29 -0800 From: Joshua Oreman <oremanj@webserver.get-linux.org> To: Ian Larsen <drblast01@hotmail.com> Cc: questions@freebsd.org Subject: Re: Problem with apache Message-ID: <20030319233529.GA35594@webserver.get-linux.org> In-Reply-To: <F138iiFC1c0xJK5OuLI000020f7@hotmail.com> References: <F138iiFC1c0xJK5OuLI000020f7@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030319233529.GA35594>