LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help with Apache (httpd)! (https://www.linuxquestions.org/questions/linux-newbie-8/help-with-apache-httpd-137558/)

apoc013 01-22-2004 03:37 PM

Help with Apache (httpd)!
 
I'm having a problem with apache (httpd).

I installed it and have it running, it starts up with linux.

When I try to log on from the host computer it works fine, I have tried ever possible way to log-on from the host.

I have tried http://127.0.0.1/, http://localhost/, and the computers ip address.

But when I try logging on from my other computer which is networked to the host, and it cant find it.

Any ideas as to what it could be thats causing this?

Let me know if you need info from the config file, its to long to post I think.

jtshaw 01-22-2004 03:44 PM

Type netstat -ta and see if you are listening on your external http port.

apoc013 01-22-2004 04:08 PM

This is what I get:

tcp 0 0 *:http *:* LISTEN

So I'm assuming that its listening.

duerra 01-22-2004 04:11 PM

Make sure you have "Listen 80" in your httpd.conf

apoc013 01-22-2004 04:21 PM

I have:

Listen *:80

twantrd 01-22-2004 04:50 PM

Your problem is probably the firewall. I can't remember what the settings for firewall was for redhat (none, medium, high?) Anyhow, I believe yours is probably set to High. Also, it would be good to learn iptables (accept, reject, etc..) so that you can control what ports are open and which connections to block among other things.

-twantrd

apoc013 01-22-2004 05:30 PM

Yeah thats what it was my firewall.

Thanks for the help.


All times are GMT -5. The time now is 08:05 AM.