Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Sep 2013
    Thanked 0 Times in 0 Posts

    Apache does not respond - firewall?


    I set up apache to listen on ports 80, 8080, 8008 (plus few others 8042 2420)

    I can access the apache sever via localhost, and via (and etc.) BUT only from my own machine!

    trying to access it via but from say and it times out!!!

    same timeout if I try to access it from external IP

    I set up port forwarding rules, and I do see these entries in the netgear log file, which seems to indicate that the traffic is forwarded to 10.0.03

    [LAN access from remote] from to Friday, Feb 25,2011 23:05:02
    [LAN access from remote] from to Friday, Feb 25,2011 23:04:54
    [LAN access from remote] from to Friday, Feb 25,2011 23:04:47

    so from this it seems that the ISP (Verizon DSL) is not blocking, and traffic does get to the WNR3500L router...

    apache does seem to listen on these ports:
    tcp 0 0* LISTEN 14136/apache2
    tcp 0 0* LISTEN 14136/apache2
    tcp 0 0* LISTEN 14136/apache2

    which should be obvious, as it is accepting connection when I use the internal ip Yet only works when I am on the same local host. BUT not from anywhere else on my internal network...

    trying to access other random ports results in an immediate error message, probably since the router does not let these through. yet requests from outside the machine take a long time to timeout

    so it seems that there is some sort of firewall running on Ubuntu, but I was not able to find it :-(

    or is apache mis-configured??? though this does not make sense, as it is responding to localhost/ and from the same machine...

    any ideas?
    Last edited by vinyl-junkie; 09-27-2013 at 02:47 PM. Reason: signatures only allowed through the control panel

  2. #2
    New Coder
    Join Date
    Oct 2013
    Bangalore, Karnataka
    Thanked 0 Times in 0 Posts
    Default Ubuntu configuration doesn't have any firewalls.I don't believe Apache is the problem here (if it responds, it is working). You should double check your network (router configuration, network configurations).I would first check your Ubuntu box for the IP it is configured to use:
    eth0 (or something like that sould have a correct ip address ( or whatever you said is your lan ip)

    Then I would ping Ubuntu box. First from another machine in the same network. If it works, I would try http requests (from Firefox). If it works, then Ubuntu box is responding correctly. I would then test connecting from internet. If it doesn't respond, you might have misconfigured your router (probably NAT or Firewall rules).

    You could also try traceroute (from inside of your network, to see which routers are on the way of your request).

  3. #3
    Senior Coder
    Join Date
    Sep 2010
    Thanked 275 Times in 275 Posts
    Simple question. Did you restart Apache ? service httpd restart
    Welcome to http://www.myphotowizard.net

    where you can edit images, make a photo calendar, add text to images, and do much more.

    When you know what you're doing it's called Engineering, when you don't know, it's called Research and Development. And you can always charge more for Research and Development.


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts