About the author

Vijay Kodali
E-mail me Send mail

Recent comments

Authors

Disclaimer

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

© Copyright 2024

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


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

Comments

Brian United States

Friday, March 27, 2009 3:25 AM

Brian

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

Michel Godfroid Belgium

Friday, March 27, 2009 7:01 PM

Michel Godfroid

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

Colin Sanders United Kingdom

Saturday, April 4, 2009 2:25 PM

Colin Sanders

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

Emre Eroglu

Sunday, April 5, 2009 3:45 PM

Emre Eroglu

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

Ivan Madic Serbia and Montenegro (Former)

Monday, April 6, 2009 3: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 8: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 United States

Monday, April 13, 2009 5:51 PM

Moises Romero

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

asder43 Turkey

Wednesday, April 15, 2009 7:58 AM

asder43

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

juan camilo

Sunday, April 19, 2009 10:01 PM

juan camilo

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

Michiel Reyers Netherlands

Monday, April 20, 2009 4:41 AM

Michiel Reyers

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

Linda Mick United States

Friday, April 24, 2009 10:26 AM

Linda Mick

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

Francisco Espinoza Mexico

Monday, April 27, 2009 4:22 PM

Francisco Espinoza

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

Melayu Boleh Turkey

Monday, April 27, 2009 5: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 United States

Sunday, May 3, 2009 4:32 PM

Roseline

Worked for me....Thanks a lot

Melayu Boleh United States

Tuesday, May 5, 2009 4: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 Malaysia

Friday, May 22, 2009 2: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 Sweden

Thursday, June 4, 2009 2:05 PM

nisto

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

Pratik

Tuesday, June 23, 2009 11: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 United Kingdom

Wednesday, June 24, 2009 5:53 AM

Ben

Thanks, I never would have worked this one out!

William Xue Australia

Friday, August 7, 2009 11: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!

[email protected] United States

Wednesday, August 12, 2009 3:21 PM

biruksolomon@gmail.com

It works perfect.Thanks for your help

nappisite United States

Thursday, August 13, 2009 11:45 AM

nappisite

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

asp.net

Wednesday, August 26, 2009 1:14 PM

asp.net

Thank you very much. It was driving me mad.

AlanR Ireland

Friday, August 28, 2009 7:05 PM

AlanR

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

KenNichols United States

Monday, August 31, 2009 5:28 PM

KenNichols

Thanks! Works like a charm!

Ludo United States

Friday, September 4, 2009 6:06 PM

Ludo

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

Cankut Turkey

Sunday, September 6, 2009 2:51 AM

Cankut

Thanks! Danke! Gracias! Tesekkurler!

Junior Mayhé Mexico

Saturday, September 26, 2009 9: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 United States

Thursday, October 15, 2009 6:25 PM

Betsy George

Very cool, thanks!

inveigledsoftware.com

Thursday, October 15, 2009 6:36 PM

pingback

Pingback from inveigledsoftware.com

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

Raymond Fraikin Netherlands

Friday, October 16, 2009 7:39 PM

Raymond Fraikin

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

hedera United States

Thursday, October 29, 2009 2: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 Serbia and Montenegro (Former)

Saturday, October 31, 2009 1:06 PM

Canf

You're genius.Smile)

hedera United States

Saturday, October 31, 2009 6: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

Saturday, November 28, 2009 9: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

Saturday, December 5, 2009 10:25 AM

WebDev

Thanks man, you're a life saver.

SuHang People's Republic of China

Wednesday, March 10, 2010 2:10 AM

SuHang

Thank you very much, so wonderful

Sean United States

Thursday, March 18, 2010 7:12 PM

Sean

This one saves me a lot time. Yhanks

vinay India

Saturday, June 19, 2010 11:56 AM

vinay

Awesome !!!!

fatimaaube.wordpress.com

Thursday, July 14, 2011 10:50 PM

pingback

Pingback from fatimaaube.wordpress.com

Elvis’ First Trip to Las Vegas was a Blast « fatimaaube

Morten Denmark

Monday, September 19, 2011 4:58 PM

Morten

Thank you!... one ":" did the trick!

ciktor Sweden

Friday, May 11, 2012 3:56 AM

ciktor

thank you It worked for me too!

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading