HTTP/HTTPS Proxy Configuration Guide

Use HighProxies with curl, Bash, Python, PHP, Proxifier, and browsers

Credentials (replace placeholders)
FieldValue
HostproxyIP
PortproxyPORT
Usernameproxyusername
Passwordproxypassword
HTTP Proxy URLhttp://proxyusername:proxypassword@proxyIP:proxyPORT

1) Command Line — curl

1

Basic proxy test

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.

2

Export reusable variable

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

2) Bash Tester Script

1

Create and run

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.

3) Python (requests)

1

Install and test inline

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
2

Standalone Python script

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())

4) PHP (cURL)

1

PHP script example

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);
?>

5) Proxifier (Windows)

1

Add proxy

  • Profile → Proxy Servers → Add
  • Address: proxyIP Port: proxyPORT
  • Protocol: HTTP
  • Authentication: Username proxyusername, Password proxypassword
  • Click “Check” → OK → Apply
2

Create rules and test

  • Profile → Proxification Rules → Add → choose apps
  • Visit https://ifconfig.me to confirm the proxy IP

6) Firefox & Chrome

1

Firefox

  • Settings → Network Settings → Manual proxy configuration
  • HTTP Proxy: proxyIP, Port: proxyPORT
  • Check “Use this proxy for all protocols”
  • Enter Username proxyusername and Password proxypassword when prompted
2

Chrome

  • Launch with flag:
google-chrome --proxy-server="http=proxyIP:proxyPORT;https=proxyIP:proxyPORT"
  • Or use SwitchyOmega extension for per-site proxy control with credentials.

7) Troubleshooting

Common issues & fixes

  • 401 Authentication failed: Verify username/password syntax (no spaces).
  • Timeouts: Check firewall or VPN conflicts; test from another connection.
  • HTTPS not working: Ensure proxy allows CONNECT tunneling.
  • Blocked websites: Rotate to a different proxy location in your HighProxies dashboard.
  • Speed issues: Choose a geographically closer proxy.
Quick Checklist
  • Use full auth format: http://username:password@IP:PORT
  • HTTPS sites require CONNECT support (enabled by default on HighProxies)
  • Proxifier routes Windows apps that lack proxy settings
  • For bots/scripts, define proxy variables to reuse easily