Archived copy.
This page was recovered from the Internet Archive snapshot of
/display/PT/Command Line Interface proxy usage taken on 2017-05-08.
The original wiki at wiki.opf-labs.org is being decommissioned.
Command Line Interface proxy usage
If you are having trouble running scripts connecting to the internet in a command line environment due to firewall restrictions, try setting a proxy.
Windows:
set HTTP_proxy=http://my.proxy.server:port
Linux:
export http_proxy=http://my.proxy.server:port
To make proxy settings permanent:
Windows:
add environment variable (configuration panel > system > advanced > environment variables > add user environment variable)
Linux:
add export to user profile and re-source profile