Use HighProxies with curl, Bash, Python, PHP, Proxifier, and browsers
| Field | Value |
|---|---|
| Host | proxyIP |
| Port | proxyPORT |
| Username | proxyusername |
| Password | proxypassword |
| HTTP Proxy URL | http://proxyusername:proxypassword@proxyIP:proxyPORT |
Use --proxy flag with full credentials to test external IP:
curl --proxy http://proxyusername:proxypassword@proxyIP:proxyPORT https://ifconfig.me
If the response shows the proxy IP, it’s working correctly.
To reuse your proxy easily in multiple commands:
export PROXY="http://proxyusername:proxypassword@proxyIP:proxyPORT" curl -x "$PROXY" https://example.com wget -e use_proxy=yes -e https_proxy=$PROXY https://example.com
Save as /usr/local/bin/test-http-proxy.sh, make executable, and run:
#!/usr/bin/env bash set -euo pipefail P="http://proxyusername:proxypassword@proxyIP:proxyPORT" echo "Testing HTTP proxy..." IP=$(curl -s -x "$P" https://ifconfig.me) echo "External IP: $IP" echo "Testing HTTPS..." curl -s -x "$P" https://google.com -o /dev/null && echo "HTTPS OK" || echo "HTTPS failed"
Compact format — no empty lines.
Run directly in terminal:
pip install requests
python3 - <<'EOF'
import requests
proxy="http://proxyusername:proxypassword@proxyIP:proxyPORT"
proxies={"http":proxy,"https":proxy}
r=requests.get("https://ifconfig.me",proxies=proxies,timeout=10)
print("External IP:",r.text.strip())
EOF
Save as test_http_proxy.py:
#!/usr/bin/env python3
import requests
proxy="http://proxyusername:proxypassword@proxyIP:proxyPORT"
proxies={"http":proxy,"https":proxy}
r=requests.get("https://ifconfig.me",proxies=proxies,timeout=10)
print("External IP:",r.text.strip())
Use this snippet in any PHP environment to test proxy:
<?php
$proxy="proxyIP:proxyPORT";
$user="proxyusername";
$pass="proxypassword";
$ch=curl_init("https://ifconfig.me");
curl_setopt_array($ch,[
CURLOPT_RETURNTRANSFER=>true,
CURLOPT_PROXYTYPE=>CURLPROXY_HTTP,
CURLOPT_PROXY=>$proxy,
CURLOPT_PROXYUSERPWD=>"$user:$pass",
CURLOPT_CONNECTTIMEOUT=>10,
CURLOPT_TIMEOUT=>15
]);
echo "External IP: ".curl_exec($ch);
curl_close($ch);
?>
google-chrome --proxy-server="http=proxyIP:proxyPORT;https=proxyIP:proxyPORT"