HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Can't connect to my Apache (http://www.howtoforge.com/forums/showthread.php?t=26)

rookie 22nd April 2005 13:43

Can't connect to my Apache
 
Help! I cannot connect to Apache... :(

Code:

ps aux
says it's running, and

Code:

netstat -tap
says the same... But in my browser, I get no pages... :confused:

mike 22nd April 2005 19:54

Seems as if your firewall (iptables) is blocking port 80. Shut your firewall down and see if that makes a difference.

Or, it could be that your Apache is listening only on certain IP addresses (and not the one that you tried...)

Mike

rookie 23rd April 2005 20:12

How can I shut down my firewall? :confused:

yannick 23rd April 2005 21:01

Depends on your distro and on your firewall... In general it's a good idea to have a look at the init scripts in /etc/init.d. Maybe there's one with the string "firewall" in it? If so, run

Code:

/etc/init.d/<name_of_the_script> stop
and then

Code:

iptables -L
to see if it has really stopped. If this doesn't help or you can't find an init script for your firewall run

Code:

iptables -F
That flushes all you firewall rules.

Yannick


All times are GMT +2. The time now is 22:51.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.