Configure the proxy settings on a Windows computer or device
- Last UpdatedOct 29, 2026
- 1 minute read
Configure the proxy settings for the command-line interface (CLI) on a Windows computer or device โ specifically, set the environment variables used by Command Prompt.
Before you begin this task, you should know the host name or IP address of your network gateway or proxy server, as well as the port number (if any) of the proxy service. If you do not know, ask your network administrator.
If the proxy service requires authentication, you should also know your user name and password for that service.
You do not need Administrator privileges on the Windows computer or device in order to perform this task, as long as you are logged on as the same user that runs the project runtime.
To configure the proxy settings:
-
Make sure you are logged on as the same user that runs the project runtime.
-
Open the Environment Variables control panel.
-
In the control panel, do the following:
-
In the User variables area of the control panel, click New.
A New User Variable dialog box is displayed.
-
In the Variable name box, type http_proxy.
-
In the Variable value box, type the URL of the proxy service. Remember to include the port number of the service and/or your user name and password for that service, if necessary.
Examples of the URL:
http://proxy-server
http://proxy-server.mynetwork.com
http://gateway.mynetwork.com:3128
http://username:password@gateway.mynetwork.com:3128
-
Click OK.
The new variable is saved.
-
-
Repeat the previous step for the variables https_proxy and ftp_proxy.
-
Click OK to close the Environment Variables control panel.
Once these environment variables are set, they will be available whenever a new Command Prompt window is opened.