Defining Proxy Connections to Remote Resources
If traffic between your corporate network and the internet is monitored, access to certain tools (cURL, Maven, Git, Eclipse, and so on) may be blocked by the proxy.
About this task
You may need to configure your proxy settings to access remote resources. The values for your proxy settings vary depending on your location and network configuration. Contact your IT administrator for the correct proxy settings.
Procedure
- For Windows:
- For Mac OS:
- Define system proxy connections to remote resources by adding the following entries to the ~/.profile, ~/.bash_profile or ~/.bashrc file.
For example, MacOS settings should reflect the following changes to the ~/.bash_profile file:export HTTP_PROXY=http://<host>:<port> export HTTPS_PROXY=http://<host>:<port> export http_proxy=http://<host>:<port> export https_proxy=http://<host>:<port> export no_proxy=<domain>
- Additional Information: