Cannot Connect to Apache 2.0 on LAN
Hello. I am a very very new Linux user. I am running RedHat 9 on a box at my workplace. We are on a domain. The hostname of my computer is Athens and it is registered on that domain in the network settings function of Linux. I have installed and started apache no problem, and I can ping my computer from another computer on the domain (across the room). I can also test the loopback functions of the webserver by going into Firefox and typing 'localhost'. I get the apache home page to know that the install was okay. However when I go into a web browser on another computer and type '192.168.2.116' nothing happens and it cannot connect to the web server.
Any help would be appreciated. Thanks, Ryan |
Just a thought...
Could it be that your apache is listening on just the localhost and not on your local network. Tux, |
Potentially. As I said I am a very new person to this. How do I change it? I'm assuming that it has something to do with the Listen directive in the httpd.conf file...?
The only thing I have defines under listen is the defualt: Listen 80 Do I need to add an IP below that? Thanks, Ryan |
I'm not at my machine but if you read through the second half of httpd.conf file...you would come across network directives and its pretty self explanatory (the file's well commented) so you can read it and get a feel of it. I might be able to help you more later today.
|
Re: Cannot Connect to Apache 2.0 on LAN
Quote:
Listen 192.168.2.116:80 If you are using a single httpd.conf file then make that change accordingly there instead. G. |
My seuggestion will be check your DNS server to ensure that you can get answer by name and by IPaddress. also check that the port 80 is is listen in the network.
|
Have you added the "another computer " to /etc/hosts ?
|
All times are GMT -5. The time now is 04:08 AM. |