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

Thursday, March 26, 2009 8:25 AM

Brian

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

Michel Godfroid be

Friday, March 27, 2009 12:01 AM

Michel Godfroid

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

Colin Sanders gb

Friday, April 03, 2009 7:25 PM

Colin Sanders

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

Emre Eroglu

Saturday, April 04, 2009 8:45 PM

Emre Eroglu

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

Ivan Madic

Sunday, April 05, 2009 8: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

Friday, April 10, 2009 1:17 AM

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

Sunday, April 12, 2009 10:51 PM

Moises Romero

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

asder43 tr

Tuesday, April 14, 2009 12:58 PM

asder43

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

juan camilo

Sunday, April 19, 2009 3:01 AM

juan camilo

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

Michiel Reyers nl

Sunday, April 19, 2009 9:41 AM

Michiel Reyers

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

Linda Mick us

Thursday, April 23, 2009 3:26 PM

Linda Mick

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

Francisco Espinoza mx

Sunday, April 26, 2009 9:22 PM

Francisco Espinoza

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

Melayu Boleh tr

Sunday, April 26, 2009 10: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

Saturday, May 02, 2009 9:32 PM

Roseline

Worked for me....Thanks a lot

Melayu Boleh us

Monday, May 04, 2009 9: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

Thursday, May 21, 2009 7: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

Wednesday, June 03, 2009 7:05 PM

nisto

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

Pratik

Tuesday, June 23, 2009 4:26 AM

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

Tuesday, June 23, 2009 10:53 AM

Ben

Thanks, I never would have worked this one out!

William Xue au

Friday, August 07, 2009 4:07 AM

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

Tuesday, August 11, 2009 8:21 PM

biruksolomon@gmail.com

It works perfect.Thanks for your help

nappisite us

Wednesday, August 12, 2009 4:45 PM

nappisite

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

asp.net

Tuesday, August 25, 2009 6:14 PM

asp.net

Thank you very much. It was driving me mad.

AlanR ie

Friday, August 28, 2009 12:05 AM

AlanR

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

KenNichols us

Sunday, August 30, 2009 10:28 PM

KenNichols

Thanks! Works like a charm!

Ludo us

Thursday, September 03, 2009 11:06 PM

Ludo

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

Cankut tr

Saturday, September 05, 2009 7:51 AM

Cankut

Thanks! Danke! Gracias! Tesekkurler!

Junior Mayhé mx

Friday, September 25, 2009 2:16 PM

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

Wednesday, October 14, 2009 11:25 PM

Betsy George

Very cool, thanks!

inveigledsoftware.com

Wednesday, October 14, 2009 11:36 PM

pingback

Pingback from inveigledsoftware.com

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

Raymond Fraikin nl

Friday, October 16, 2009 12:39 AM

Raymond Fraikin

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

hedera us

Wednesday, October 28, 2009 7: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

Friday, October 30, 2009 6:06 PM

Canf

You're genius.Smile)

hedera us

Friday, October 30, 2009 11: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

Friday, November 27, 2009 2:02 PM

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

Friday, December 04, 2009 3:25 PM

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

Wednesday, March 10, 2010 9:43 AM