hi,
While running my application i am getting runtime error as "Unable to connect to Asp.net Development server". please help me...
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
srinathPosted Jun 2, 2010, 2:43 AM
Mr.Chirag, I have pinged from my command prompt.
I am getting reply from 127.0.0.1 only.
then also i am getting the same error "unable to connect to asp.net development server".
CrishPosted May 31, 2010, 8:08 AM
The Fix
"ping localhost" from the command prompt and noticed it was returning replies from ::1 (the IPv6 "loopback" address). Please popped open your hosts file (c:\windows\system32\drivers\etc\hosts) and noticed that localhost was mapped to ::1, but not to 127.0.0.1. You have no need for IPv6 on your machine so You need to commented out that line and added: