Unable to access port 80 from anywhere but localhost
I'm trying to set up a web server (Redhat 9) for testing using Apache 2.x
If I tell Apache to listen to a port higher than 1024 then I can access my web server from the Internet (when it's not blocked by a firewall).
If I tell Apache to listen to a port lower than 1024 (read port 80) then I can only access my web server locally.
I did some research and I know this can happen if the httpd daemon is not started as the root user. However, I am starting httpd as root.
I also tried turning off any firewall rules I had and still no change.
When the Apache listen port is higher than 1024 (for instance 8000) I can also telnet to that port and get a response back:
Trying xxx.xxx.xxx.xxx ...
Connected to xxx.xxx.xxx.xxx.
Escape character is '^]'.
When the Apache listen port is 80 I cannot telnet to it and I get:
Trying xxx.xxx.xxx.xxx ...
When the Apache listen port is below 1024 but not 80 I cannot telnet to it and I get a different message:
Trying xxx.xxx.xxx.xxx ...
telnet: connect to address xxx.xxx.xxx.xxx: Connection refused
I've been able to set this up before on another linux box and I know other people do this all the time. Why can't does my box seem to be blocking port 80? Any ideas?
|