I want to turn a laptop with a broken monitor into a home web server behind a wireless router (buffalo airstation). I removed all ubuntu gui packages and installed lighttpd. The laptop has a fixed ip address 192.168.1.180. Here is what I observe:

  1. 'wget 192.168.1.180' on another linux box connected by a wire to the router works fine, firefox works too.

  2. when connected to the router wirelessly, I get 'No route to host.'

I setup the router to forward port 80 to 192.168.1.180:80 and 22 to 192.168.1.100:22 (a desktop); I can 'ssh myself' from the outside; but 'wget http:// myself' times out. I thought that my ISP might be blocking port 80, so I forwarded 8080 to 192.168.1.180:80 too, but 'wget http:// myself:8080' also times out.

link|improve this question
You might get a better response on SuperUser. – IslandCow Sep 21 '11 at 22:59
feedback

closed as off topic by ErikA, SvenW, Zoredache, Shane Madden, Ward Sep 21 '11 at 22:29

Questions on Server Fault are expected to generally relate to servers, networking, or desktop infrastructure, within the scope defined in the faq.

1 Answer

It could be that you have a firewall rule somewhere that allows connections on the local lan from 192.* but denies connections from the WAN (from any other subnet). You said you didn't have a firewall though and so I bet the webserver itself (httpd.conf) has a rule that blocks in that fashion.

link|improve this answer
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.