asp.net development web server dynamic port numbering problem

來源:互聯網
上載者:User

The problem 

I had this problem in Visual Studio 2005 and now I have it in Visual Web Developer 2008 express edition where when debugging a web application using the development web server the dynamic port number used by the server didn't match what Visual Studio had used for the web browser. It was always wrong and normally out by two or three port numbers.

For example the cassini web development server starts and I can see in the notification area what port number it uses

However the web browser started by Visual studio looks like this

Clearly that isn't going to work.

The Solution

I managed to track down the problem to my firewall software part of the ESET Smart Security Suite. Now, I am pretty sure that when I was using Visual Studio 2005 and had the problem that I was using either McAfee, Norton/Symantec or possibly even the Outpost firewall software. My solution won't work if you aren't using Eset but hopefully it will help you to look in the right area.

  1. If you are using ESET Smary Security Suite then I bet you are using the Protocol Filtering (you can tell by looking in the Advanced Firewall Setup).
    You could just turn it off and ignore the rest of my blurb but you probably want to keep Protocol Filtering enabled so goto step 2.
  2. In the Advanced setup you need to locate the section shown in the image below and uncheck the web development server.
  3. Make sure you stop the web development server if it's still running and then try debugging from Visual Studio again.

 

from:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2788405&SiteID=1

http://www.wahooga.com/archive/2008/02/20/visual-studio-development-web-server-automatic-port-numbering-problem.aspx

 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.