Visual Studio doesn't resolve localhost
-
When I want to run my project in VS2005 choosing File/Open in Browser it says: website cannot be opened When I replace the word localhost in the address line by 127.0.0.1 everything works fine. In the file .../system32/drivers/etc/hosts tere is an entry: 127.0.0.1 localhost so where visual studio is looking for the name resolve? Reinstall VS doesnt help. Thanks for any suggestions Wilfried.
-
When I want to run my project in VS2005 choosing File/Open in Browser it says: website cannot be opened When I replace the word localhost in the address line by 127.0.0.1 everything works fine. In the file .../system32/drivers/etc/hosts tere is an entry: 127.0.0.1 localhost so where visual studio is looking for the name resolve? Reinstall VS doesnt help. Thanks for any suggestions Wilfried.
This is just a wild guess, but do you have the "Enable LMHOSTS Lookup" setting turned on in the network TCP/IP settings? Mark
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
This is just a wild guess, but do you have the "Enable LMHOSTS Lookup" setting turned on in the network TCP/IP settings? Mark
Mark Salsbery Microsoft MVP - Visual C++ :java:
Yes it was on. But turning it on or off doesn't make any effect. when i put it on and make an entry '127.0.0.1 localhost' in the file lmhosts.sam and make import lmhosts with this file in the network connections it doesn't help either. Should it be on or off? When its searching the website it shows in the status line at the bottom of the explorer: Connecting to site [::1] --- but cannot connect This problem occurs on my laptop. Its the same installation like on my PC, where there is no such problem. The only difference is, that there is an English windows xp on the laptop, while a German one on the PC ;-) thanks for ur try. Wilfried
-
Yes it was on. But turning it on or off doesn't make any effect. when i put it on and make an entry '127.0.0.1 localhost' in the file lmhosts.sam and make import lmhosts with this file in the network connections it doesn't help either. Should it be on or off? When its searching the website it shows in the status line at the bottom of the explorer: Connecting to site [::1] --- but cannot connect This problem occurs on my laptop. Its the same installation like on my PC, where there is no such problem. The only difference is, that there is an English windows xp on the laptop, while a German one on the PC ;-) thanks for ur try. Wilfried
-
When I want to run my project in VS2005 choosing File/Open in Browser it says: website cannot be opened When I replace the word localhost in the address line by 127.0.0.1 everything works fine. In the file .../system32/drivers/etc/hosts tere is an entry: 127.0.0.1 localhost so where visual studio is looking for the name resolve? Reinstall VS doesnt help. Thanks for any suggestions Wilfried.