Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista - localhost not found

Reply
 
Old 10-20-2006   #1 (permalink)
Jan Kucera


 
 

localhost not found

Hi,
when I have no network cable plugged in, niether http://localhost/ nor
127.0.0.1 can be found. How to solve this?

Thanks,
Jan


My System SpecsSystem Spec
Old 10-20-2006   #2 (permalink)
Jan Kucera


 
 

Re: localhost not found

Running 5744 I forgot to say. I think a little bit that it worked on
previous builds.

"Jan Kucera" <uam@centrum.cz> wrote in message
news:773EE165-5B6D-4D9F-B746-5E1F5974B6EE@microsoft.com...
> Hi,
> when I have no network cable plugged in, niether http://localhost/ nor
> 127.0.0.1 can be found. How to solve this?
>
> Thanks,
> Jan


My System SpecsSystem Spec
Old 10-20-2006   #3 (permalink)
Eric Denekamp


 
 

Re: localhost not found

what are you trying to accomplishe here, are you trying to run a website on
this box when no cable is attached. i can imagine, that the IP stack will
not start before the stack can connect to something lika a cable (working
NIC.) if you need this, you could try to install a Microsoft loopback
adapter, this gives you network features even though you do not have an
network.

Good luck

EricD

"Jan Kucera" <uam@centrum.cz> wrote in message
news:1B83DB1E-D11E-4131-AC50-FC65C5B38A2C@microsoft.com...
> Running 5744 I forgot to say. I think a little bit that it worked on
> previous builds.
>
> "Jan Kucera" <uam@centrum.cz> wrote in message
> news:773EE165-5B6D-4D9F-B746-5E1F5974B6EE@microsoft.com...
>> Hi,
>> when I have no network cable plugged in, niether http://localhost/ nor
>> 127.0.0.1 can be found. How to solve this?
>>
>> Thanks,
>> Jan

>


My System SpecsSystem Spec
Old 10-20-2006   #4 (permalink)
Jan Kucera


 
 

Re: localhost not found

I have just ASP.NET project in VisualStudio and try to run it (on local
ASP.NET Development server).
I have never installed loopback adapter before, do I need to switch it on in
Vista?

I have IIS installed so I assumed it will open on localhost without any
other installations required.
Once the cable is connected, the information remains somewhere so I can
connect even after unplugging again.

I hoped this is widely seen, if I'm first person asking then the problem is
probably on my side and I should find some repro of course...

Thanks for answer,
Jan

"Eric Denekamp" <ericd@infosupport.com> wrote in message
newsF7C9AA9-2E6D-4286-A8DE-5D0B24CC015D@microsoft.com...
> what are you trying to accomplishe here, are you trying to run a website
> on this box when no cable is attached. i can imagine, that the IP stack
> will not start before the stack can connect to something lika a cable
> (working NIC.) if you need this, you could try to install a Microsoft
> loopback adapter, this gives you network features even though you do not
> have an network.
>
> Good luck
>
> EricD
>
> "Jan Kucera" <uam@centrum.cz> wrote in message
> news:1B83DB1E-D11E-4131-AC50-FC65C5B38A2C@microsoft.com...
>> Running 5744 I forgot to say. I think a little bit that it worked on
>> previous builds.
>>
>> "Jan Kucera" <uam@centrum.cz> wrote in message
>> news:773EE165-5B6D-4D9F-B746-5E1F5974B6EE@microsoft.com...
>>> Hi,
>>> when I have no network cable plugged in, niether http://localhost/ nor
>>> 127.0.0.1 can be found. How to solve this?
>>>
>>> Thanks,
>>> Jan

>>

>


My System SpecsSystem Spec
Old 09-08-2009   #5 (permalink)


Vista Home Premium 64bit
 
 

Re: localhost not found

The solution is removing the next line in the windows host file C:\Windows\System32\drivers\etc\hosts

::1 localhost

This is an IpV6 entry. Put a # in front of it. "

Instead of commenting this IpV6 entry adding the following IpV4 entry above this line also helps:

127.0.0.1 localhost

or
Commented out the line

::1 LocalHost

with a # in the hosts file and it now works.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
IIS, localhost, web service Network & Sharing
HELP! Can't get localhost to work! Vista General
Setting up to use localhost Vista account administration
VPN and localhost Vista networking & sharing
localhost Web features Vista account administration


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46