Check Whether the Proxy Agent Is Running Normally¶
Run the following command in the terminal¶
Use curl to send a request through the local proxy and print only the HTTP status code:
socks5is the proxy protocol. It can be replaced with another protocol such ashttp.10080is the proxy port. Replace it with the input port of your proxy service.
If the command returns 301 or 200, the proxy service is working. If it returns 000, the proxy service is not responding and cannot be used normally.
REF¶
[1]. Linux-Auto-PAC