Compatible Support Forums: Changing localhost IP

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Changing localhost IP

#1 User is offline   PinkPanther 

  • member
  • Group: Members
  • Posts: 102
  • Joined: 17-March 00

Posted 13 August 2003 - 03:42 AM

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
0

#2 User is offline   sapiens74 

  • Pooh-Bah
  • Group: Members
  • Posts: 1915
  • Joined: 30-March 00

Posted 13 August 2003 - 04:20 AM

I think that is a hardware level attribute.

Myabe I am wrong and someone can provide a solution
0

#3 User is offline   adamvjackson 

  • Pooh-Bah
  • Group: Members
  • Posts: 2174
  • Joined: 26-August 02

Posted 13 August 2003 - 04:35 AM

Localhost is hardcoded into the IP stack, are you trying to change your machine IP?
0

#4 User is offline   jmmijo 

  • veteran
  • Group: Members
  • Posts: 1550
  • Joined: 29-May 02

Posted 13 August 2003 - 05:16 AM

Here's a better explanation of the localhost or loopback built into NIC's wink
0

#5 User is offline   PinkPanther 

  • member
  • Group: Members
  • Posts: 102
  • Joined: 17-March 00

Posted 13 August 2003 - 05:33 AM

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 frown

Thanks again for the informaiton
0

#6 User is offline   jmmijo 

  • veteran
  • Group: Members
  • Posts: 1550
  • Joined: 29-May 02

Posted 13 August 2003 - 05:44 AM

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 wink
0

#7 User is offline   Vermyn 

  • member
  • Group: Members
  • Posts: 156
  • Joined: 30-November 99

Posted 13 August 2003 - 02:47 PM

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.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users