Testing proxies with a curl query is a simple and effective way to ensure that your proxies are working correctly. To start, you'll need to open up the command line on Windows or the terminal on Mac.
The curl query that we use is:
curl -x username:password@IP:PORT https://ipinfo.io/
Alternatively, you can also use http://ip.me or any other IP database you prefer.
Here's an example of a curl query:
curl -x LV3418547-dc1LU7SsG-33:AL7sj3xus1@18.104.22.168:7383 http://ipinfo.io/
Here's the result from Terminal/Mac:
Here's the result from CMD/Windows for a similar query:
The curl query sends a request to the IP database and retrieves information about the IP address behind the proxy. This allows you to test if you can successfully connect to the proxy servers from your computer or server. Additionally, by using services like ip-api or ipinfo.io, you can access more information about your private IP addresses such as region, city, country, carrier information, and more.