Apache server not broadcasting to internet

8,577

Guys, I'm stupid. It was my computer's firewall. I had thought that I had allowed port 80, so I dismissed it. Plus, the problems that I had really pointed to another source. But alas, after turning off the firewall, it worked, and then I realized that I had not, in fact, allowed port 80.

Many thanks for the responses.

Share:
8,577

Related videos on Youtube

wat
Author by

wat

Updated on September 17, 2022

Comments

  • wat
    wat over 1 year

    I've installed Apache server on my machine. I've set it up and designated the root folder, etc. When I go to http://localhost/, it works fine, telling me that Apache is installed correctly. However, when I enter my IP in the browser, it does not work and comes up with "connection timing out" error. I tried configuring everything with my router (i.e. port forwarding), but to no avail. When I connected my computer directly to my modem, bypassing the router, I can access the root folder by typing my IP in a browser. However, the root folder is not accessible through the internet according to http://downforeveryoneorjustme.com/ and a friend who tried to access it through the internet. I've tried specifying my server and binding Apache to my IP address using ServerName and Listen, respectively, in the httpd.conf file. Still, no avail.

    Any thoughts? Thanks in advance.

  • James L
    James L over 13 years
    The "grep 80" is unnecessary here and may provide false results. What if it returns "-p tcp --dport 80 -j ACCEPT" but grep has filtered out a rule above it that drops -p tcp --source whatever -j DROP? Rules which affect HTTP may not specify port 80.