[olug] apache not reachable

Christopher Cashell topher at zyp.org
Tue Mar 8 08:53:04 UTC 2005


At Tue, 08 Mar 05, Unidentified Flying Banana Tim & Alethea Larson, said:
> Already changed the port forwarding to the new IP, but I can't reach 
> Apache on that IP even on my local network.  Can't telnet to port 80, 
> either.  Apache just doesn't respond except from the localhost.

When you say "except from the localhost", what exactly do you mean?  Do
you mean you are connecting to localhost (127.0.0.1), or connecting to
your network interface from that local machine?

What happens when you try to connect to the ethernet interface, as
opposed to localhost, from the local machine?

Have you verified that it is listening on the proper interfaces/IPs?

> Not relevant, since the problem is manifest within my network.
> 
> >Try to ping your machine on port 80 from another machine.  I'm not sure 
> >how to do this exactly but I know it's possible.

Generally this kind of thing is, or can be, done with hping2, hping3, or
nmap.

> YDL has an Apache installed in /usr/sbin, but I've symlinked those to my 
> copies at /usr/local/apache2/bin instead and made a few appropriate 
> changes in the init scripts.  Linux init scripts don't seem to be as 
> straightforward to me as the BSD ones, so maybe this is where my problem 
> lies?  Do the symlinks create a problem?

I wouldn't think so, but it's hard to say.  You may want to ensure that
there are no passwords or sensitive information and try posting your
apache config and initscript, either somewhere web accessible, or to the
list.

> Thanks,
> Tim

-- 
| Christopher
+------------------------------------------------+
| Here I stand.  I can do no other.              |
+------------------------------------------------+




More information about the OLUG mailing list