Forum overview »
Networking » Changing localhost IP (1/1)
| Changing localhost IP |
| Author |
Message |
PinkPanther
Senior Member
Posts: 102
Joined: 2000-03-16
Member No.: 2553
|
2003-08-12 20:42:27
Hi all,
I need to make my localhost IP something other than the usual 127.0.0.1
I have already edited the hosts file, and yes, I have double-checked that it was not accidentally saved with a .txt extension or any other extension. However, when I ping localhost, I still get the 127.0.0.1 IP, even after I reboot.
Is there something I am missing here?
Thanks
|
|
| Post #130024 |
|
sapiens74
Senior Member
Posts: 1915
Joined: 2000-03-29
Member No.: 2815
|
2003-08-12 21:20:18
I think that is a hardware level attribute.
Myabe I am wrong and someone can provide a solution
|
|
| Post #130025 |
|
adamvjackson
Senior Member
Posts: 2174
From: Asheville, NC
Joined: 2002-08-26
Member No.: 12643
|
2003-08-12 21:35:40
Localhost is hardcoded into the IP stack, are you trying to change your machine IP?
|
|
| Post #130026 |
|
jmmijo
Senior Member
Posts: 1295
Joined: 2002-05-29
Member No.: 9759
|
2003-08-12 22:16:44
Here's a better explanation of the localhost or loopback built into NIC's 
|
|
| Post #130028 |
|
PinkPanther
Senior Member
Posts: 102
Joined: 2000-03-16
Member No.: 2553
|
2003-08-12 22:33:13
Thanks for the replies.
What I was trying to do is to get my machine to accept localhost as the IP of the computer on my lan that has ISS installed, for web development. Some add-ons for Visual Studio.Net fail to install because they check localhost and require ISS installed, but I use a remote computer as a server, which Visual Studio itself allows.
oh well
Thanks again for the informaiton
|
|
| Post #130029 |
|
jmmijo
Senior Member
Posts: 1295
Joined: 2002-05-29
Member No.: 9759
|
2003-08-12 22:44:02
Ah, this is a little different then, here's a search on Microsofts Knowledge Base articles on IIS v6 and localhost. Not sure if any of them will help or not 
|
|
| Post #130030 |
|
Vermyn
Senior Member
Posts: 156
From: Southeast US
Joined: 1999-11-29
Member No.: 906
|
2003-08-13 07:47:04
Try installing the Cassini web server. It's a mini web server provided by MS for people who don't want to run IIS - and Cassini is easy to turn on or shut down.
www.asp.net is the place to get it.
|
|
| Post #130037 |
|