A
A
Alexander Ivanov2022-01-09 14:04:05
PHP
Alexander Ivanov, 2022-01-09 14:04:05

What is a reliable way (php, python) to check if a proxy is available?

How can I reliably check that the proxy is working using php or python methods. Now my php script checks through CURL referring to Google. But the fact is that sometimes the answer from Google still comes, but through a proxy I can’t access Google. And sometimes, on the contrary, the answer from Google does not come, and the proxy turns out to work

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2022-01-09
@bacon

Reliable - set up your web server (or even several, in different networks, if you need "more reliable") and make test requests to it through a proxy, then analyze the responses.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question