How to: Enable Web Server Debugging on Windows XP SP2

This topic applies to:

Edition

Visual Basic

C#

C++

Web Developer

Express

Topic does not apply Topic applies Topic does not apply Topic applies

Standard

Topic applies Topic applies Topic does not apply Topic applies

Pro and Team

Topic applies Topic applies Topic applies Topic applies

Table legend:

Topic applies

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.

See Also

Tasks

How to: Set Up Remote Debugging