Where to set Proxy parameters for Visual Studio 2015 to get connected to Internet


  • Hello,

    My company requires me to use a Proxy for all Internet connections.

    How to set Proxy parameters so that Visual Studio 2015 uses the Proxy for all tool requiring Internet accesses ?



    Tuesday, February 21, 2017 2:37 PM


  • Hi Rico38,

    Welcome to the MSDN forum.

    Refer to your description, please check this: Proxy Authorization Required and have a try with the following steps:

    • Restart Visual Studio. A proxy authentication dialog box should appear. Enter your credentials in the dialog.
    • If the above step does not solve the problem, this may be because your proxy server does not prompt for credentials for addresses but does so for * addresses. For these servers, you need to whitelist the following list to unblock all sign-in scenarios in Visual Studio:
      • *
      • *
      • *
      • *
      • *
    • You can otherwise remove the address from the whitelist so that the proxy authentication dialog shows up for both the address and the server endpoints when Visual Studio is restarted.
    • OR
    • If you want to use your default credentials with your proxy, you can do the following:
      1. Find devenv.exe.config (the devenv.exe configuration file) in: %ProgramFiles%\Microsoft Visual Studio 14.0\Common7\IDE (or %ProgramFiles(x86)%\Microsoft Visual Studio 14.0\Common7\IDE).
      2. In the configuration file, find the <> block, and add this code:
    <defaultProxy enabled="true" useDefaultCredentials="true">  
        <proxy bypassonlocal="True" proxyaddress=" HYPERLINK "http://<yourproxy:port#" http://<yourproxy:port#>"/>  

    If the above methods not work, please have a look at the following similar issue:

    Accessing Nuget Official Package Source behind company proxy

    Visual Studio 2015 - Can't sign in, Use NuGet, etc. behind corporate proxy

    Best regards,


    Wednesday, February 22, 2017 5:31 AM