Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd April 2005, 12:43
rookie rookie is offline
Junior Member
 
Join Date: Apr 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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...
Reply With Quote
Sponsored Links
  #2  
Old 22nd April 2005, 18:54
mike mike is offline
Junior Member
 
Join Date: Apr 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #3  
Old 23rd April 2005, 19:12
rookie rookie is offline
Junior Member
 
Join Date: Apr 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

How can I shut down my firewall?
Reply With Quote
  #4  
Old 23rd April 2005, 20:01
yannick yannick is offline
Junior Member
 
Join Date: Apr 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 20:56.


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