[nzlug] Apache not seen from Internet

Peter Butler peter.butler at 141.com
Fri Jun 1 18:14:42 NZST 2007


> On my firewall/router with a static IP address I opened port 8080 to be
> forwarded to 192.168.0.200 port 80.
>   
...
> But I can not get through from the Internet using
> http://<staticip>:8080/ all I get is connection timeout.
> Any ideas? Whats the best way of testing this?
>   
Are you browsing from the same internal network as your web server?  
i.e. is the machine that you are browsing the web from connected to the 
internet via the same router/modem/whatever as the web server?

I've had problems getting this to work in the past: requests that come 
from the same internal network aren't forwarded by the gateway to the 
web server, but it works fine from a machine connected to the internet 
via a separate uplink.  It once took me hours and hours of swearing to 
figure out.  I fixed it by putting a meaningful name for the internal IP 
address of the server into /etc/hosts.  Cheap and nasty but effective.

Cheers

Peter



More information about the NZLUG mailing list