Changing localhost IP

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.

Windows Networking 2246 This topic was started by ,


data/avatar/default/avatar21.webp

103 Posts
Location -
Joined 2000-03-17
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

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar12.webp

1915 Posts
Location -
Joined 2000-03-30
I think that is a hardware level attribute.
 
Myabe I am wrong and someone can provide a solution

data/avatar/default/avatar35.webp

2172 Posts
Location -
Joined 2002-08-26
Localhost is hardcoded into the IP stack, are you trying to change your machine IP?

data/avatar/default/avatar21.webp

103 Posts
Location -
Joined 2000-03-17
OP
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

data/avatar/default/avatar01.webp

1547 Posts
Location -
Joined 2002-05-29
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

data/avatar/default/avatar25.webp

156 Posts
Location -
Joined 1999-11-30
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.