About the author

Vijay Kodali
E-mail me Send mail

Site Statistics

Site Meter

Recent comments

Authors

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010

Visual studio Development Server problem in Vista

Problem:

Internet Explorer can not display the page.

Localhost not able to establish a connection on port..

getting the above messages when trying to run my application locally. I got this problem after installing this week's updates to Vista.  It messed up VS developer server settings. 

Apparently it was due to Definition Update for Windows Defender - KB915597 (Definition 1.53.256.0)

Solution:

Go to c:\Windows\System32\drivers\etc\ and open the file named hosts with a text editor and search for the line containing "::1"  and change "::1" to ":::1" by adding an extra ":" 

It solved the problem on one of my development machine. If it didn’t work, leave a comment.

Update:

Another solution from visual web developer team.

Update:

Same problem is discussed here and here

Currently rated 4.8 by 4 people

  • Currently 4.75/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by vijay on Thursday, March 12, 2009 1:23 PM
Permalink | Comments (36) | Post RSSRSS comment feed

Related posts

Comments

Brian us

Tuesday, March 24, 2009 2:25 AM

Brian

That fix worked. Thanks for sharing it. I was going crazy trying to figure out what happened!

Michel Godfroid be

Tuesday, March 24, 2009 6:01 PM

Michel Godfroid

Thanks a lot, saved me hours of annoyance...

Colin Sanders gb

Wednesday, April 01, 2009 1:25 PM

Colin Sanders

Thanks very much. I was about to rebuild my machine and considered going back to XP.

Emre Eroglu

Thursday, April 02, 2009 2:45 PM

Emre Eroglu

Thanks a lot, that problem was making me crazy..

Ivan Madic

Friday, April 03, 2009 2:40 PM

Ivan Madic

Thank you very much. I can't believe how simple it was, I spend one week trying to figure...

kobojunkie.wordpress.com

Tuesday, April 07, 2009 7:17 PM

pingback

Pingback from kobojunkie.wordpress.com

Visual Studio View in browser error “Internet Explorer can not display the page”. « Kobojunkie’s Blog

Moises Romero us

Friday, April 10, 2009 4:51 PM

Moises Romero

Thanks a lot, it saved me from a lot of trouble

asder43 tr

Sunday, April 12, 2009 6:58 AM

asder43

Thank you very much. It was driving me crazy.
GBU

juan camilo

Thursday, April 16, 2009 9:01 PM

juan camilo

AQUI ESTA LA SOLUCION A TANTO CAMELLO:
THIS IS A SOLUTION:
bvencel.blogspot.com/.../...t-server-problems.html

Michiel Reyers nl

Friday, April 17, 2009 3:41 AM

Michiel Reyers

Thank you very much for sharing this!!
I love Vista (NOT !!!)

Linda Mick us

Tuesday, April 21, 2009 9:26 AM

Linda Mick

Thank you so much... I was about to explode!

Francisco Espinoza mx

Friday, April 24, 2009 3:22 PM

Francisco Espinoza

Muchas gracias señor... es irritante estar batallando con este tipo de problemas.

Melayu Boleh tr

Friday, April 24, 2009 4:57 PM

Melayu Boleh

Thanks for the info..really appreciate it..Im about to give up to find the solution of this problem..thanks again

Roseline us

Thursday, April 30, 2009 3:32 PM

Roseline

Worked for me....Thanks a lot

Melayu Boleh us

Saturday, May 02, 2009 3:43 AM

Melayu Boleh

Thank you very much. I can't believe how simple it was, I spend one week trying to figure...

Zephere Yong my

Tuesday, May 19, 2009 1:08 PM

Zephere Yong

Thanks a lot... seriously... I asked around in my college to see if they had a similar problem but no results... i can't believe the solution was that simple!!

nisto se

Monday, June 01, 2009 1:05 PM

nisto

More than a week I have spend on this. Now it works, thanks a lot!

Pratik

Saturday, June 20, 2009 10:26 PM

Pratik

Hey thanks a lot for this help.. I've spent like a week on this issue, but got no fix for my problem.. This worked like a charm.. thanks a ton again..

Ben gb

Sunday, June 21, 2009 4:53 AM

Ben

Thanks, I never would have worked this one out!

William Xue au

Tuesday, August 04, 2009 10:07 PM

William Xue

thanks alot..i've also found that putting a line of "127.0.0.1 localhost" before the "::1 localhost"
also helps!

biruksolomon@gmail.com us

Sunday, August 09, 2009 2:21 PM

biruksolomon@gmail.com

It works perfect.Thanks for your help

nappisite us

Monday, August 10, 2009 10:45 AM

nappisite

Thanks, so simple yet I never would've found it.

asp.net

Sunday, August 23, 2009 12:14 PM

asp.net

Thank you very much. It was driving me mad.

AlanR ie

Tuesday, August 25, 2009 6:05 PM

AlanR

Thanks , i was about to un-install the lot. I owe you one.

KenNichols us

Friday, August 28, 2009 4:28 PM

KenNichols

Thanks! Works like a charm!

Ludo us

Tuesday, September 01, 2009 5:06 PM

Ludo

Wow! I was going nuts trying to fix this. Thanks thanks!!!!

Cankut tr

Thursday, September 03, 2009 1:51 AM

Cankut

Thanks! Danke! Gracias! Tesekkurler!

Junior Mayhé mx

Wednesday, September 23, 2009 8:16 AM

Junior Mayhé


In my case on C:\Windows\System32\drivers\etc\hosts file, I had to comment the line:
#:::1 localhost

and add the line:
127.0.0.1 localhost

Betsy George us

Monday, October 12, 2009 5:25 PM

Betsy George

Very cool, thanks!

inveigledsoftware.com

Monday, October 12, 2009 5:36 PM

pingback

Pingback from inveigledsoftware.com

Inveigled By Design » Silverlight Development: IE Cannot Display the web page

Raymond Fraikin nl

Tuesday, October 13, 2009 6:39 PM

Raymond Fraikin

Thanks a bunch! This article probably saved my hours of searching Smile)

hedera us

Monday, October 26, 2009 1:21 AM

hedera

Unfortunately this didn't work for me, hoping you have a suggestion. My web site is on Vista Home Premium. Unlike many of the people reporting this problem, I don't have Visual Studio Developer installed. I checked my update history and I definitely did get the problem Windows Defender update. My /etc/host file had both these lines:

127.0.0.1 localhost
::1 localhost

I added the third : to the second line and rebooted, but I still get the error.

Here's the problem: my site is a local test DotNetNuke site, which was just upgraded to version 4.9.5 (last stable version on the old code base). I only get the error when I log in as superuser (host) and try to open any of the pages from which I could actually configure the thing! The site is useless if I can't configure it. The non-configuration pages all display correctly! I've posted this at the DNN forum and got no response at all. I will be grateful for any suggestions you may have.

hedera

Canf

Wednesday, October 28, 2009 12:06 PM

Canf

You're genius.Smile)

hedera us

Wednesday, October 28, 2009 5:15 PM

hedera

I've solved my problem, it wasn't the hosts file at all. DNN 4.9.5 requires HTTPS for the admin pages - the first version to do so. Once I got IIS configured to serve HTTPS to localhost, everything worked fine.

hedera

henrikas

Wednesday, November 25, 2009 8:02 AM

henrikas

super!. Than'x so much. spend few hours trying to figure out myself, then some time on internet
till i go here.
Thing with third ':' did help on Vista/IE8/devstudio 2008...

WebDev

Wednesday, December 02, 2009 9:25 AM

WebDev

Thanks man, you're a life saver.

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

Monday, February 08, 2010 10:29 PM