Date: Sun, 22 Dec 2002 15:00:55 -0800 From: "Jimi Thompson" <jimit@myrealbox.com> To: <freebsd-questions@FreeBSD.ORG> Subject: RE: Refusing Connections Message-ID: <JBEBLBLAABEOPMEPFAKEIECGCDAA.jimit@myrealbox.com> In-Reply-To: <004d01c2a973$9483bd30$1200a8c0@gsicomp.on.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a strange one. Here's the deal. The traffic doesn't even appear to be making it as far as the Apache process. That's why I was looking for something in the OS that would be blocking it (like the firewall). # # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, in addition to the default. See also the <VirtualHost> # directive. # # Change this to Listen on specific IP addresses as shown below to # prevent Apache from glomming onto all bound IP addresses (0.0.0.0) # #Listen 12.34.56.78:80 Listen 80 Yep and I'm not getting a thing in the error logs either. My access log is totally empty. My error log shows this when I stop and restart it by hand - [Sat Dec 21 23:48:19 2002] [notice] caught SIGTERM, shutting down [Sat Dec 21 23:48:25 2002] [warn] RSA server certificate CommonName (CN) `web1' does NOT match server name!? [Sat Dec 21 23:48:28 2002] [warn] RSA server certificate CommonName (CN) `web1' does NOT match server name!? [Sat Dec 21 23:48:28 2002] [notice] Apache/2.0.43 (Unix) mod_ssl/2.0.43 OpenSSL/0.9.6g configured -- resuming normal operations Netstat, however, has other ideas - netstat -an -finet -ptcp Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 4.60.243.40.22 4.60.243.201.1277 ESTABLISHED tcp4 0 0 *.8021 *.* LISTEN tcp4 0 0 *.8080 *.* LISTEN tcp4 0 0 *.587 *.* LISTEN tcp4 0 0 *.25 *.* LISTEN tcp4 0 0 4.60.243.40.22 *.* LISTEN Thanks, Ms. Jimi Thompson Those who are too smart to engage in politics are punished by being governed by those who are dumber. - Plato -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Matthew Emmerton Sent: Saturday, December 21, 2002 8:36 PM To: Jimi Thompson; freebsd-questions@FreeBSD.ORG Subject: Re: Refusing Connections Does 'sockstat' show that httpd is listening on port 80? Matt ----- Original Message ----- From: "Jimi Thompson" <jimit@myrealbox.com> To: <freebsd-questions@FreeBSD.ORG> Sent: Sunday, December 22, 2002 12:53 AM Subject: Refusing Connections > OS - 5.0 RC2 > Apache - 2.0.43 > OpenSSL - 0.9.6g > > I'm having a rather odd problem and I can't quite put my finger on it. I > can verify that the apache httpd is running but I am unable to connect to > the box on port 80. > I verified that httpd.conf specifies port 80. I've verified that the > firewall is disabled. I can connect on other ports so I know that the > network settings are working properly. If someone could point out what > I'm missing, I'd really appreciate it. I have a feeling that it's going to > be a "DOH!" momemt. > > Thanks, > > Ms. Jimi Thompson > > Those who are too smart to engage in politics are punished by being governed > by those who are dumber. - Plato > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message 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?JBEBLBLAABEOPMEPFAKEIECGCDAA.jimit>