Asp.net Development Web Server dynamic port numbering problem

Source: Internet
Author: 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 coshould 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

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.