Tech C**P
15 subscribers
161 photos
9 videos
59 files
304 links
مدرس و برنامه نویس پایتون و لینوکس @alirezastack
Download Telegram
How to check whether a socks server working or not?

Let's say you have run a socks server on port 8888. Now in order to test the server, you just need to use cURL! You need to provide --socks5 parameter to cURL as below:
curl --socks5 localhost:8888 binfalse.de

If you see some HTML stuff, your server is up & running, but if you see the below error it seems the server is not working properly:
curl: (7) Failed to connect to localhost port 8888: Connection refused

The above error says that port 8888 is not available, you may see different errors based on the server configuration stat. Hope it helps.

#socks5 #socks #socks_server #curl