Localhost not able to establish a connection on port ...http://forums.asp.net/t/1395351.aspx/1?Localhost+not+able+to+establish+a+connection+on+port+Tue, 10 Aug 2010 10:46:18 -040013953512997376http://forums.asp.net/p/1395351/2997376.aspx/1?Localhost+not+able+to+establish+a+connection+on+port+Localhost not able to establish a connection on port ... Hi I have just starting getting the above message when trying to run my application locally, this is the first time it has happened, I have not recently installed any new software or antivirus software. The only antivirus software I have running is Avira AntiVir. I have not made any changes to my firewall, web.config or application properties. running VS2008. Any help appreciated. 2009-03-10T19:55:37-04:002997509http://forums.asp.net/p/1395351/2997509.aspx/1?Re+Localhost+not+able+to+establish+a+connection+on+port+Re: Localhost not able to establish a connection on port ... <p>Hello,</p> <p>Can you verify the SQL Service is running? (Start -&gt; Administrative Tools -&gt; Services)</p> <p>I would also look in the Event Viewer for any errors.</p> <p>You may also want to try rebooting to see if that resolves the issue.</p> <p>If you see any errors in the Event Log or can post the full exact error here, it will help troubleshoot the issue.</p> <p>Hope this helps!</p> <p>&nbsp;</p> 2009-03-10T20:47:38-04:002997607http://forums.asp.net/p/1395351/2997607.aspx/1?Re+Localhost+not+able+to+establish+a+connection+on+port+Re: Localhost not able to establish a connection on port ... Hi don't have SQL server locally, that is on a remote site, there is nothing showing at all in the event viewer, tried a reboot ans still getting the same message. This is really odd, it was working fine this morning. Now just getting page cannot be display, can't even administer the website. 2009-03-10T21:24:01-04:002998527http://forums.asp.net/p/1395351/2998527.aspx/1?Re+Localhost+not+able+to+establish+a+connection+on+port+Re: Localhost not able to establish a connection on port ... <p>&nbsp;Hi</p> <p>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. <br> </p> 2009-03-11T05:38:10-04:002998832http://forums.asp.net/p/1395351/2998832.aspx/1?Re+Localhost+not+able+to+establish+a+connection+on+port+Re: Localhost not able to establish a connection on port ... <p>&nbsp;Hi</p> <p>&nbsp;I don't think SQL is the issue, I create a new website with nothing in it and it still won't run locally.&nbsp; just keep getting page not found, then i diagnose the problem and get the same&nbsp; Localhost not able to establish a connection on port (whichever port number it takes)<br> </p> 2009-03-11T08:03:17-04:002999159http://forums.asp.net/p/1395351/2999159.aspx/1?Re+Localhost+not+able+to+establish+a+connection+on+port+Re: Localhost not able to establish a connection on port ... <p>&nbsp;Commented out the line</p> <p>::1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LocalHost</p> <p>&nbsp;</p> <p>with a # in the hosts file and it now works.</p> <p>Question is, where did that suddenly come from, has a Microsoft update done it? <br> </p> 2009-03-11T10:12:17-04:003000463http://forums.asp.net/p/1395351/3000463.aspx/1?Re+Localhost+not+able+to+establish+a+connection+on+port+Re: Localhost not able to establish a connection on port ... <p>Hi Panzer. I guess your solution is VERY GOOD. You are THE MAN.</p> <p>I was going crazy over this and your solution solved my problem.</p> <p>Thanks a Million.....</p> <p>&nbsp;EK</p> 2009-03-11T19:52:08-04:003001070http://forums.asp.net/p/1395351/3001070.aspx/1?Re+Localhost+not+able+to+establish+a+connection+on+port+Re: Localhost not able to establish a connection on port ... <p>&nbsp;can you expalin how you solved the issue??<br> </p> 2009-03-12T02:37:07-04:003001818http://forums.asp.net/p/1395351/3001818.aspx/1?Re+Localhost+not+able+to+establish+a+connection+on+port+Re: Localhost not able to establish a connection on port ... <p>This update caused this:<br> Definition Update for Windows Defender - KB915597 (Definition 1.53.256.0)</p> <p>It caused a removal of the IP mapping to localhost in the hosts file located in<br> C:\Windows\system32\drivers\etc\</p> <p>You should include this line to the hosts file:<br> 127.0.0.1 localhost</p> <p><br> See this thread for details:<br> <a href="http://forums.cnet.com/5208-6132_102-0.html?threadID=334042">http://forums.cnet.com/5208-6132_102-0.html?threadID=334042</a><br> </p> 2009-03-12T09:08:53-04:003132222http://forums.asp.net/p/1395351/3132222.aspx/1?Re+Localhost+not+able+to+establish+a+connection+on+port+Re: Localhost not able to establish a connection on port ... <p>&nbsp;OMG!&nbsp; I've been trying to fix this forever!!!!&nbsp; THANKS SO MUCH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&nbsp; Hopefully, Microsoft will catch on.&nbsp; Incredible work man!<br> </p> 2009-05-01T04:56:04-04:003134475http://forums.asp.net/p/1395351/3134475.aspx/1?Re+Localhost+not+able+to+establish+a+connection+on+port+Re: Localhost not able to establish a connection on port ... <p>set local host as 127.0.0.1 when you are executing your web site</p> 2009-05-02T05:43:53-04:003274903http://forums.asp.net/p/1395351/3274903.aspx/1?Re+Localhost+not+able+to+establish+a+connection+on+port+Re: Localhost not able to establish a connection on port ... <p>Great find!</p> 2009-07-04T18:46:33-04:003848677http://forums.asp.net/p/1395351/3848677.aspx/1?Re+Localhost+not+able+to+establish+a+connection+on+port+Re: Localhost not able to establish a connection on port ... <p>I have this&nbsp;same problem but everything I tried did not fix it any other ideas?</p> <p>Thanks Brandi&nbsp;</p> 2010-05-19T14:38:14-04:003899074http://forums.asp.net/p/1395351/3899074.aspx/1?Re+Localhost+not+able+to+establish+a+connection+on+port+Re: Localhost not able to establish a connection on port ... <p>Even i am facing this problem trying to solve it but no luck can anyone help </p> <p>after trying few things i realized i am facing this problem only when my antivirus is running scan. </p> <p>so how to solve this problem if somebody can help me plzzzzzzzzz<br> </p> <p><br> </p> 2010-06-04T15:24:10-04:004019203http://forums.asp.net/p/1395351/4019203.aspx/1?Re+Localhost+not+able+to+establish+a+connection+on+port+Re: Localhost not able to establish a connection on port ... <p>What antivirus are you running?</p> 2010-08-10T10:40:00-04:004019217http://forums.asp.net/p/1395351/4019217.aspx/1?Re+Localhost+not+able+to+establish+a+connection+on+port+Re: Localhost not able to establish a connection on port ... <p>symantec endpoint protection</p> 2010-08-10T10:46:18-04:00