PDA

View Full Version : apache server is not accessible


sarsgene
2008-05-27, 11:05 AM CDT
I just setup the Fedora 9 last week with subversion and httpd on the box. The setup went through smoothly and I can access the apache web server by using the local browser through http://localhost or http://ip-address.

However, when I am trying to access the box from another computer, it will give me an "Unable to connect" error, tho I can ping the server.

I haven't been doing anything other than installing the svn modules, ssl modules to the httpd module dir. And I searched for a little while, I didn't actually find anyone got the same problem as I did. Does anyone know what could be the problem? Any hint would be appretiated!

BTW, I have another Fedora 6 box on the same Intranet with the same httpd setup and it works fine.

tsorvoja
2008-05-27, 11:15 AM CDT
Check that firewall is not blocking the connection. Testing connection with ping is useable but quite inadequate in firewall cases...

sarsgene
2008-05-27, 11:24 AM CDT
I just realized that the default system-config-firewall settings for the box have been disabling all external connections. How could I have not checking that?! Thanks a bunch!

tsorvoja
2008-05-27, 11:39 AM CDT
No problem. Glad that I could help.

neuba
2008-06-05, 01:32 PM CDT
I have the same problem. I red all the answer to this question without any solution. Let me tell you what i did:
i decide to upgrade my fedora 7 to fedora 8 only with some problem. The fedora 8 kernel was not installed. I used my fedora 7 dvd to make a rescue and proceed to an update and replace fedora 7 package. Now I cannot start Http://localhost don't work. Java sun, Postgresql and webmin don't start.
I check my firewall.
I configure my http.conf
I can start apache finely
but http://localhost dont open.
Please PIMP MY RIDE

marcrblevins
2008-06-05, 11:24 PM CDT
Port 80 open in system-config-firewall?

neuba
2008-06-06, 05:35 AM CDT
my port 80 is open and I succed last night but this morning the test page failed to open again. Please I am new in linux and can you give some code to check my server and my computer to know what is wrong.

neuba
2008-06-06, 05:39 AM CDT
in my error_log i fing this error message:
[error] avahi_client_new() failed: Access denied
[Fri Jun 06 11:32:32 2008] [notice] Apache/2.2.6 (Unix) DAV/2 Apache/2.2.0 (Fedora) PHP/5.2.6 configured -- resuming normal operations