The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

How to: Enable Web Server Debugging on Windows XP SP2

Visual Studio 2008

This topic applies to:


Visual Basic



Web Developer


Topic does not applyTopic appliesTopic does not applyTopic applies


Topic appliesTopic appliesTopic does not applyTopic applies

Pro and Team

Topic appliesTopic appliesTopic appliesTopic applies

Table legend:

Topic applies


Topic does not apply

Does not apply

Topic applies but command hidden by default

Command or commands hidden by default.

Windows XP Service Pack 2 provides enhanced security. To enable Web server debugging on Windows XP Service Pack 2, you must perform the following additional steps on the Web server host computer. Administrator privileges are required.

To enable Web server debugging on Windows XP Service Pack 2

  1. In Control Panel, double-click Security Center.

  2. Under Manage Security Settings For, click Windows Firewall.

  3. In the Windows Firewall window, click the Exceptions tab, and then click the Add Port button.

    Steps 2-5 open the TCP 80 port, which must be opened for ASP.NET, ASP, and ATL Server debugging.

  4. In the Add a Port dialog box:

    • For Name, type a description such as Web Server Debugging.

    • For Port Number, type 80.

    • Select TCP.

  5. (Optional) Limiting access to your local subnet limits the numbers of users who could exploit the security hole you are opening. You should do this unless you have to debug outside your local subnet.

    1. Click the Change Scope button.

    2. In the Change Scope window, select My network (subnet) only.

    3. Click OK to close the Change Scope dialog box.

  6. Click OK to close Add a Port dialog box.

  7. Click OK to close the Windows Firewall dialog box.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft