Reputation: 1390
I need to create a pool of proxies with public ips. I have multiples ips link to my server.
I'm trying a simple case for the moment. A socks5 proxy with docker.
docker run -p 1080:1080 serjs/go-socks5-proxy
That ... doesn't work
curl -x socks5://serverip:1080 google.fr
2023/06/23 16:10:01 Start listening proxy service on port 1080
2023/06/23 16:10:02 [INFO] socks: Connection from allowed IP address: x.x.x.x
2023/06/23 16:10:02 [ERR] socks: Failed to handle request: Connect to 127.0.0.1:80 failed: dial tcp 127.0.0.1:80: connect: connection refused
Any ideas?
Upvotes: 0
Views: 74