我有这个代理地址:125.119.175.48:8909
如何使用cURL-like curl http://www.example.com
执行HTTP请求,但指定网络的代理地址?
我有这个代理地址:125.119.175.48:8909
如何使用cURL-like curl http://www.example.com
执行HTTP请求,但指定网络的代理地址?
一般方式:
export http_proxy=http://your.proxy.server:port/
然后,您可以通过代理从(多个)应用程序进行连接.
根据下面的 comments ,对于https:
export https_proxy=https://your.proxy.server:port/