Powered by OPF
OPF WIKI STATIC ARCHIVE
2,681 pages · 153 spaces · 776 tags · 4,025 history records · 96.2% of the original wiki recovered
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

Created by Maurice de Rooij on Feb 27, 2012 · last edited by Maurice de Rooij · on Feb 27, 2012 (view history)

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