PDA

View Full Version : Apache only works locally


sudo chop
2008-08-20, 12:51 PM CDT
Hey everyone, I just set up an apache server on fc9, but now I am testing it out and it seems to only work locally... i can't get the test page up from another host on the network, and it also doesn't answer telnet on port 80. Yes, im a noob, so I probably overlooked something obvious. Help please!

leigh123@linux
2008-08-20, 01:23 PM CDT
Check steps 2 ,3 & 4

http://forums.fedoraforum.org/showpost.php?p=947644&postcount=2

sudo chop
2008-08-20, 01:39 PM CDT
Well I have a Virtual Web server set up in my router but I am trying to get to it from a host on the same switch, so I know the problem is before the router. I disabled the fedora firewall when I was setting up... sooo... any other ideas? thanks

leigh123@linux
2008-08-20, 01:46 PM CDT
Try this


su -
chkconfig ip6tables off
chkconfig iptables off
service ip6tables stop
service iptables stop

sudo chop
2008-08-20, 01:50 PM CDT
hmmm... I ran system-config-firewall again, which brings up the firewall gui. it showed that the firewall was disabled, but just for kicks i enabled the firewall and checked the box next to http, and then whaddya know? it works. even dumber, i turned it right back off, and it still works. weird!

Well thanks anyway for your help!

cashcrazy
2008-08-22, 04:26 PM CDT
Your not the only noob with this problem. I am working to find this same solution. Are you running dynamic ip?

marcrblevins
2008-08-22, 09:50 PM CDT
If dynamic, ddclient is the one I use with dyndns.org.

sudo chop
2008-08-23, 04:59 AM CDT
Yea, I use no-ip. But I solved my problem... My firewall was still enabled even though it said it was disabled. I just switched it on and back off again, and it actually turned off, and it works now.