Can not access http://localhost

  • Thread starter Thread starter ad
  • Start date Start date
A

ad

I get sent to a different site whenever I try to access
http://localhost. I'm on XP. Is their something like a
loopback adaptor I need to install or any other setting
that I'm missing to see my localhost?
Thanks.
 
ad said:
I get sent to a different site whenever I try to access
http://localhost. I'm on XP. Is their something like a
loopback adaptor I need to install or any other setting
that I'm missing to see my localhost?
Thanks.

i assume you are running a http server, and thus, trying to access it.

you may have to map localhost in your hosts file.
C:\WINDOWS\SYSTEM32\DRIVERS\ETC\HOSTS (in XP pro, not sure about the
home edition)

if it is blank, put a line like the following in it.
127.0.0.1 localhost

the other option is to use the IP directly, or the machine name (for
windows networking).
 
make sure that your web pages are in the wwwroot folder
and that you have given your website your computer's IP
address... go to run type mmc and select the computer
management section under the file tab...click on your IIS
services click on web sites and right click on your
default web and u should be able to make changes there....
 
fred said:
make sure that your web pages are in the wwwroot folder
and that you have given your website your computer's IP
address... go to run type mmc and select the computer
management section under the file tab...click on your IIS
services click on web sites and right click on your
default web and u should be able to make changes there....

that assumes IIS. there are several http servers that run under windows
BTW. i for one use apache as a test base on my workstation.
 
Back
Top