hi,
While running my application i am getting runtime error as "Unable to connect to Asp.net Development server". please help me...
Runtime error
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
CrishRank #1,487 · 1.1K reputationPosted May 31, 2010, 4:08 AM EDT
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:
srinath133 reputationPosted Jun 1, 2010, 10:43 PM EDT
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".