-   Linux - Networking (
-   -   cannot access localhost (

Rick809 08-02-2006 08:06 AM

cannot access localhost
I been trying to fix this for the last 2 days. Can someone help me?

I have read countless post regarding this issue but found nothing that helped.

What was done:

I am able to ping localhost and
I can access the default page if I type in the ip address

I think have disable the firewall and checked the httpd.conf to make sure that port 80 is listening. I have forwarded port 9999 and port 80 on the router.

What am I missing? Please help

michaelk 08-02-2006 08:30 AM

Your post is missing a few details.
It appears that the webserver works from the local PC with its IP address. From the local PC you should be able to use localhost (or, its IP ( or the PCs hostname as the URL (i.e. http://hostname) and see the default web page.

What do you mean by cannot access localhost? Are you trying to see the webpage from the internet or from another networked PC?

What distribution/version of linux are you running?

Rick809 08-02-2006 08:41 AM

Sorry about not giving you the full details. I am new at this.

What I am really trying to do is this, I have a public ip address that I am able to ping, but it does not allow me to access the default page on my webserver. I have forwarded ports on the router, disabled firewalls etc. to no avail. But i can access the webserver by using from my other computer

I am running centos 4

cs.cracker 08-02-2006 12:27 PM

What type of internet service do you have? Most ISPs block port 80 for residential plans. To verify, try listening on a different port, like 81, 82, or 8080, and going to http://whatever:81 (or whatever port you chose).

All times are GMT -5. The time now is 04:20 AM.