Apache won't accept or reject incoming internet connections but accepts on local lan
Hi. I installed mandriva linux 2006. Apache won't accept incoming internet connections (it also doesnt refuse them, it just times out). It does accept connections via LAN however.
I went to the firewall settings in the control center and checked to allow for ssh and webserver. I looked at the iptables setup and it has ports 22 and 80 allowed. This is what my hosts.deny looks like: ALL: ALL EXCEPT 127.0.0.1 : DENY httpd: ALL : ALLOW This is what my hosts.accept looks like: sshd: ALL : ALLOW httpd: ALL : ALLOW I can successfully ssh into the machine from a remote location. I edited the httpd.conf file and put in the server i.p. address under servername (192.168.15.100) I also changed the order, deny Deny from all to Allow from all even though I don't think that's necessary. ANyways, I've looked at several apache configuration guides, and as far as I know it should already work. |
Also wanted to note that I have port forwarded ports 22 and 80 to the servers i.p. address on my local router.
|
Quote:
I meant to say hosts.allow |
I figured out what the problem was (eventually). My isp blocks port 80. Switching to port 8000 worked.
|
All times are GMT -5. The time now is 04:33 AM. |