How to configure proxy in Visual Studio Installer?

Shervan360 1,601 Reputation points
2024-08-30T11:16:54.4166667+00:00

Hello,

I cannot update or install Visual Studio. This problem is related to my internet connection in my country.

I use SSH Tunnel(similar to VPN) to bypass internet censorship and other problems such as DNS..

How can I configure a proxy for VS Installer? I used the below solution but it doesn't work.

https://stackoverflow.com/questions/56247226/how-to-configure-proxy-in-visual-studio-2019

I should route VS Installer through a proxy tunnel(SSH)

Screenshot 2024-08-30 144452

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,196 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,050 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 29,831 Reputation points Microsoft Vendor
    2024-09-02T02:14:29.57+00:00

    Hi @Shervan360

    Welcome to Microsoft Q&A! 

    If you use a proxy server, please refer to the following link to add some Microsoft domains to an allowlist.

    Install and use behind a firewall or proxy server - Visual Studio (Windows) | Microsoft Learn 

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".  Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.