Export (0) Print
Expand All

How to: Bypass a Proxy Server for Local Web Requests

When you are using the ASP.NET Development Server to test your ASP.NET Web pages, you might receive a 502 error or an error indicating that the page cannot be displayed. If so, your browser might be unable to resolve a URL containing localhost and a port number, such as the following:

http://localhost:8080/MyWebSite/Default.aspx

You might be able to resolve this error by bypassing the proxy server for local Web requests, as described in the following procedure.

To bypass a proxy server for local Web requests

  1. In Visual Web Developer, on the Tools menu, click Options.

  2. In the Options dialog box, select the Show all settings check box.

  3. Double-click Environment, click Web Browser, and then click the Internet Explorer Options button.

  4. On the Connections tab of the Internet Properties property sheet, click LAN Settings.

  5. On the Local Area Network (LAN) Settings property sheet, clear the Automatically detect settings check box.

  6. Under Proxy server, select the Use a proxy server for your LAN (These settings will not apply to dial-up or VPN connections) check box.

  7. Specify the address and port number that match your network, and then select the Bypass proxy server for local addresses check box.

  8. Click OK, click OK, and then click OK again.

  9. On the File menu, click Exit, and then re-open Visual Web Developer to apply the changes.

Community Additions

ADD
Show:
© 2014 Microsoft