Use environment variables to identify your web proxy
Set environment variables to identify your web proxy manually.
읽는 시간 2분최근 업데이트: 한 달 전
If your environment doesn’t support automatic proxy configuration, you can use environment variables to identify your web proxy.
HTTP_PROXYHTTPS_PROXYNO_PROXYThe environment variables you use and the values you assign vary, based on your environment. Use the guidance in the following section or sections that best describe your situation.
Proxy environment variable values that exclude authentication information
If your environment variable definitions can exclude authentication information, the proxy value takes the following form:
http://<proxy_name_or_IP_address>:<proxy_port>
Example:
http://webproxy.mycompany.com:8080
Proxy environment variable values that include authentication information
If your environment variable definitions need to include authentication information, the proxy value takes the following form:
http://<username>:<password>@<proxy_name_or_IP_address>:<proxy_port>
Example:
http://DanaLee:My1337password@webproxy.mycompany.com:8080
Proxy environment variable value for Unity Licensing Server
If your enterprise uses a Unity Licensing Server, set the environment variable by assigning the host name or IP address of your licensing server. Make sure you assign only the host name or IP address, omitting any protocol of port number. For example, if your licensing server's address is , set the environment variable as follows:
NO_PROXYhttp://unitylicense.mydomain.com:8080NO_PROXYNO_PROXY=unitylicense.mydomain.com
Next steps
Different operating systems have multiple methods for setting environment variables. However, creating a command file is one method that works on all operating systems sets the environment variables each session.
Now that you know which environment variables to use for your environment and how to set their values, use them to create a command file.