HTTP vs HTTPS vs SOCKS5 Proxies
Say your provider gives you an HTTP proxy and you need to open an HTTPS site. Can you use it? Usually, yes. The proxy address tells your app how to talk to the proxy. The website address tells it what to open.
Which proxy type do I have?
- HTTP
- Your app speaks HTTP to the proxy. If you open an HTTPS site, it usually asks for a tunnel with
CONNECT. - HTTPS
- Your app opens a TLS connection to the proxy itself. An HTTPS website can then use its own TLS connection inside the tunnel. Your app needs to support HTTPS proxies.
- SOCKS5
- Your app asks the proxy to open a connection, then sends traffic such as HTTPS over it. The app’s SOCKS settings determine where DNS is resolved.
Can an HTTP proxy open HTTPS websites?
Yes, as long as the proxy allows a CONNECT tunnel to that site. Say you open https://example.com/. Your browser asks the proxy to connect to example.com:443, then sets up TLS with the website through the tunnel.
“HTTPS support” in your provider’s dashboard can refer to exactly that. If you’re unsure which scheme to enter for the proxy, ask whether the connection to the proxy uses TLS. HTTP proxy tunneling in cURL · TLS to an HTTPS proxy
What to enter in the tester
Start with one proxy. Copy the host, port and protocol from your provider’s connection details. Ports can vary, so go by the protocol the provider gives you. Here’s what the three formats look like.
http://gateway.example:8080
https://secure-gateway.example:443
socks5://socks-gateway.example:1080
If you enter just a host and port, TestMyProxies tries HTTP and can then try SOCKS5. Type https:// yourself if the proxy expects TLS. If you have a username and password, use one of the supported credential formats.
When does SOCKS5 DNS matter?
If the same SOCKS5 proxy works in one app and fails in another, check where each app looks up the website’s address. Your device can look up the IP and send it to the proxy, or your app can send the hostname so the proxy looks it up. That matters when the hostname resolves on one network and fails on the other. How cURL handles SOCKS DNS
It works in the tester. What do I use in my app?
Look at Type in your result and use that protocol in your app. The tester connected from its own server. If your provider uses an IP allowlist, you’ll need to authorize the public IP of the machine running your app too.
Still having trouble? Run the same check with cURL on that machine. With an HTTPS proxy, check that the proxy hostname matches its certificate and that your app trusts it. If you’re setting up a browser, check the exit IP in your usual profile.