Forum Moderators: mack

Message Too Old, No Replies

No access to localhost

When I type in http://localhost? or 127.0.0.1 I get error

         

Calcoil

9:50 pm on Sep 13, 2004 (gmt 0)

10+ Year Member



I am running XP Pro. I am trying to access localhost and I get an error "Windows cannot access this folder make sure you typed the file name correctly and that you have permission to access folder. Detail A connection with the server could not be established.
I read your previous posts from April and followed suggestion to check on C:\windows\system32\drivers\etc\hosts for line of code reading 127.0.01 localhost. That line of code was there. In fact it was the only line.

I have check to verify IIS is running, .NET is running but when I try to access [localhost...] I get a screen that references a google search with many references to localhost, but I do not see the local host.

Any ideas as to what is wrong?

Thanks for any assistance,
Calcoil

silk

6:03 am on Sep 14, 2004 (gmt 0)

10+ Year Member



Wow. This is a tough one. Maybe you have someother process or another webserver using the port that IIS defaults to. Have a look at that.

Altenatively you can specify a port for IIS to run on

[localhost:port_number...]

I don't use WinXp that much anyways ;) ...Hope u get thru.

Krapulator

7:24 am on Sep 14, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



try [your-computer-name...] and see if this works.

encyclo

10:00 am on Sep 14, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld [webmasterworld.com], Calcoil!

Make sure you disable stuff like firewalls during the testing process - if that fixes it, then you have to allow the connections to localhost in your firewall rules.

mack

4:47 pm on Sep 14, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Make sure you have the following entry in your hosts file...
127.0.0.1 localhost

your hosts file should be located at
\c\windows\system32\drivers\ect\hosts

Mack.