我使用Dante socks5 proxy for telegram
外部服务器出现问题:
curl -v -x socks5://user:password@localhost:1080 https://web.telegram.org
* Rebuilt URL to: https://web.telegram.org/
* Trying localhost...
* TCP_NODELAY set
* Connection failed
* connect to localhost port 1080 failed: Operation timed out
* Failed to connect to localhost port 1080: Operation timed out
* Closing connection 0
curl: (7) Failed to connect to localhost port 1080: Operation timed out
答案 0 :(得分:0)
我使用此命令允许端口
sudo ufw allow 1080