Download the Tom's Hardware App from the App Store
The reference for current tech news
Yes No
Ads
Tom's Hardware > Forum > Networking > General Discussion > How to change the default localhost ip 127.0.0.1 on a Vista PC ?

How to change the default localhost ip 127.0.0.1 on a Vista PC ?

Forum Networking : General Discussion How to change the default localhost ip 127.0.0.1 on a Vista PC ?

Word :    Username :           
 
- 0 +

Hi, I would like to change the default localhost ip (127.0.0.1) on my Vista Home Premium PC. I tried to modify the "hosts" file located in c:\windows\systems32\drivers\etc but it didnt work. Any idea ?


Message edited by Jerg on 08-11-2007 at 06:07:08 PM
Reply to Jerg
Register or log in to remove.

um... LOL. Honestly, when I saw the thread title I thought 'the host file! it's so easy to fix it too! this is gonna be an EASY reply. Then, your post says the host file doesn't fix it. Honestly, I can't think of how else you'd change the localhost. Just for curiosity, why would you want to change the localhost? Why not just specify a new IP in the host file? Like do a localhost2 and set it to whatever you want?


Message edited by cyberjock on 08-11-2007 at 10:04:12 PM
Reply to cyberjock

do this and it will let you change/save your hosts file.

1) Browse to Start -> All Programs -> Accessories
2) Right click "Notepad" and select "Run as administrator"
3) Click "Continue" on the UAC prompt
4) Click File -> Open
5) Browse to "C:\Windows\System32\Drivers\etc"
6) Change the file filter drop down box from "Text Documents (*.txt)" to "All Files (*.*)"
7) Select "hosts" and click "Open"
8) Make the needed changes and close Notepad. Save when prompted.

------------------------------ http://www.speedtest.net/result/168203825.png
Reply to BeanDip0001

Thank you! I couldn't find that till now

Reply to oyuncubey

BeanDip0001 wrote :

do this and it will let you change/save your hosts file.

1) Browse to Start -> All Programs -> Accessories
2) Right click "Notepad" and select "Run as administrator"
3) Click "Continue" on the UAC prompt
4) Click File -> Open
5) Browse to "C:\Windows\System32\Drivers\etc"
6) Change the file filter drop down box from "Text Documents (*.txt)" to "All Files (*.*)"
7) Select "hosts" and click "Open"
8) Make the needed changes and close Notepad. Save when prompted.



thanks, even after a few years this post was helpful.

Reply to tackechi

BeanDip0001 wrote :

do this and it will let you change/save your hosts file.

1) Browse to Start -> All Programs -> Accessories
2) Right click "Notepad" and select "Run as administrator"
3) Click "Continue" on the UAC prompt
4) Click File -> Open
5) Browse to "C:\Windows\System32\Drivers\etc"
6) Change the file filter drop down box from "Text Documents (*.txt)" to "All Files (*.*)"
7) Select "hosts" and click "Open"
8) Make the needed changes and close Notepad. Save when prompted.



Tried but didn't work :(

I'd like to redirect localhost to 10.0.0.1 - so I can test a site on my mac's localhost.

Any ideas?

Thanks!

Reply to shahar h

You can't really do what you're asking that's your loopback adapter and it's not optional.... and if you could change it would break... well... most everything. There are more reasons for this than I can or care to list.

So what exactly are you trying to accomplish here? If you can detail what your problem is / why you're trying to redirect to your loopback to your mac on 10.0.0.1 perhaps we can come up with a solution that will work.

Reply to brian_tii
- 0 +

what Brian_TII said. It's a standard that's been around since the 80s and is non-optional as it's built right into the TCP/IP stack.

Reply to kewlx25

do not work the method. any other help?

Reply to Anonymous
- 0 +

um, so you are hosting a site on your MAC, what ever software you are using have it listen on you own IP, then open your browser up and type your own ip....

Reply to tkrl26

BeanDip0001 wrote :

do this and it will let you change/save your hosts file.

1) Browse to Start -> All Programs -> Accessories
2) Right click "Notepad" and select "Run as administrator"
3) Click "Continue" on the UAC prompt
4) Click File -> Open
5) Browse to "C:\Windows\System32\Drivers\etc"
6) Change the file filter drop down box from "Text Documents (*.txt)" to "All Files (*.*)"
7) Select "hosts" and click "Open"
8) Make the needed changes and close Notepad. Save when prompted.




i did this just for soe purpose like a month before and now i wanted to come back to my default host file..i tried my best but could come up with default host file.i think i have only one option to install window again but i am pretty sure there should be a way to make host file default..

If u have any idea pls email me at super8mville@gmail.com
appreciated
thanks
waiting

Reply to garry1984

is this the same for a vista?

Reply to becrio23

This is what I always use and no problems so far http://howtohacklife101.blogspot.c [...] dress.html

Reply to joeman99
Register or log in to remove.
Tom's Hardware > Forum > Networking > General Discussion > How to change the default localhost ip 127.0.0.1 on a Vista PC ?
Go to:

There are 1904 identified and unidentified users. To see the list of identified users, Click here.

  • Ask the community now
  • Publish
Ad
Ads
Latest best answer
My desktops internet. HELP
By Realbeast, 1 day ago:

Sure could be a virus or malware, you should use a good free antivirus and...

Best offers
They won a badge
Join us in greeting them
Top experts