Last post Aug 10, 2010 10:46 AM by priyappated
Mar 10, 2009 07:55 PM|panzer|LINK
Mar 10, 2009 08:47 PM|ServerIntellect_BH|LINK
Can you verify the SQL Service is running? (Start -> Administrative Tools -> Services)
I would also look in the Event Viewer for any errors.
You may also want to try rebooting to see if that resolves the issue.
If you see any errors in the Event Log or can post the full exact error here, it will help troubleshoot the issue.
Hope this helps!
Mar 10, 2009 09:24 PM|panzer|LINK
Mar 11, 2009 05:38 AM|omalbose|LINK
Check your SQL connection with SQLAdapter if you are able to connect it is clear that it is not problem with your DB server. Usually the VS 2008 got the privilege to open ports dynamically on the system while debugging.
Mar 11, 2009 08:03 AM|panzer|LINK
I don't think SQL is the issue, I create a new website with nothing in it and it still won't run locally. just keep getting page not found, then i diagnose the problem and get the same Localhost not able to establish a connection on port (whichever port
number it takes)
Mar 11, 2009 10:12 AM|panzer|LINK
Commented out the line
with a # in the hosts file and it now works.
Question is, where did that suddenly come from, has a Microsoft update done it?
Mar 11, 2009 07:52 PM|foreverlearning|LINK
Hi Panzer. I guess your solution is VERY GOOD. You are THE MAN.
I was going crazy over this and your solution solved my problem.
Thanks a Million.....
Mar 12, 2009 02:37 AM|omalbose|LINK
can you expalin how you solved the issue??
Mar 12, 2009 09:08 AM|asmund|LINK
This update caused this:
Definition Update for Windows Defender - KB915597 (Definition 1.53.256.0)
It caused a removal of the IP mapping to localhost in the hosts file located in
You should include this line to the hosts file:
See this thread for details:
May 01, 2009 04:56 AM|pheng_vue3|LINK
OMG! I've been trying to fix this forever!!!! THANKS SO MUCH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Hopefully, Microsoft will catch on. Incredible work man!
May 02, 2009 05:43 AM|amitk.singh|LINK
set local host as 127.0.0.1 when you are executing your web site
Jul 04, 2009 06:46 PM|SeanGep.NET|LINK
Visual Web Developer 2008 Express Edition
cannot access localhost at port number
May 19, 2010 02:38 PM|photoflyphotography|LINK
I have this same problem but everything I tried did not fix it any other ideas?
Jun 04, 2010 03:24 PM|priyappated|LINK
Even i am facing this problem trying to solve it but no luck can anyone help
after trying few things i realized i am facing this problem only when my antivirus is running scan.
so how to solve this problem if somebody can help me plzzzzzzzzz
Aug 10, 2010 10:40 AM|panzer|LINK
What antivirus are you running?
Aug 10, 2010 10:46 AM|priyappated|LINK
symantec endpoint protection