How-to Softlock License - Proxies in License Manager
By default, License Manager uses whatever proxies you have set for your system. Where License Manager reads these proxy settings from differs between operating systems:
Windows
The proxy settings are read from Internet Explorer.
- Open Internet Options.
- Go to connections tab and press LAN Settings button.
- Tick the checkbox “Use a proxy server for your LAN” and specify the Address and Port of your proxy server (for example 192.168.1.11, port 3128).
*Note the Bypass Proxy Server for Local Addresses option. When this policy is enabled, local resources are always accessed directly, not through a proxy server. - If you need to specify the list of address exceptions, click Advanced. In the field Do not use proxy servers for addresses beginning with: specify the list of IP addresses or domains. For example: 192.*
- Press OK twice to save settings
Mac
The proxy settings are read from the system internet settings.
Linux
The proxy settings are read from the environment variables http_proxy
or all_proxy
.
For example, using bash shell:
Type the following command to set proxy server:
$ export http_proxy=http://server-ip:port/
$ export http_proxy=http://127.0.0.1:3128/
$ export http_proxy=http://proxy-server.mycorp.com:3128/
If the proxy server requires a username and password then add these to the URL. For example, to include the username foo and the password bar:
$ export http_proxy=http://foo:bar@server-ip:port/
$ export http_proxy=http://foo:bar@127.0.0.1:3128/
$ export http_proxy=http://USERNAME:PASSWORD@proxy-server.mycorp.com:3128/
How do I setup proxy variable for all users?
To setup the proxy environment variable as a global variable, open /etc/profile file:
# vi /etc/profile
Add the following information:
export http_proxy=http://proxy-server.mycorp.com:3128/
ORexport http_proxy=http://USERNAME:PASSOWRD@proxy-server.mycorp.com:3128/
Save and close the file.