0

I have docker-compose.yml:

version: '3'
services:
  shadowsocks:
    image: shadowsocks/shadowsocks-libev:latest
    environment:
      - TZ=Europe/Moscow
      - PASSWORD=<psw>
      - METHOD=aes-256-cfb
      - ARGS=--fast-open
    ports:
      - "8388:11110"
      - "8388:11110/udp"
    restart: unless-stopped

It's logs:

 2024-08-27 09:19:09 INFO: using tcp fast open
 2024-08-27 09:19:09 INFO: UDP relay enabled
 2024-08-27 09:19:09 INFO: initializing ciphers... aes-256-cfb
 2024-08-27 09:19:09 INFO: Stream ciphers are insecure, therefore deprecated, and should be almost always avoided.
 2024-08-27 09:19:09 INFO: using nameserver: 8.8.8.8,8.8.4.4
 2024-08-27 09:19:09 INFO: tcp server listening at 0.0.0.0:8388
 2024-08-27 09:19:09 INFO: udp server listening at 0.0.0.0:8388

So, i supposed that shadowsocks works

But any attempt to connect there fails I tried different clients (for android, for linux, gui for linux)

I keep getting this error

[stdout] 2024-08-27T09:25:07.744378887+03:00 ERROR socks5 tcp client handler error: Connection refused (os error 111)  

If to try to call shadowsocks from vds:

$ curl -v 0.0.0.0:11110
*   Trying 0.0.0.0:11110...
* connect to 0.0.0.0 port 11110 failed: Connection refused
* Failed to connect to 0.0.0.0 port 11110: Connection refused
* Closing connection 0
curl: (7) Failed to connect to 0.0.0.0 port 11110: Connection refused

1 Answer 1

0

try this

curl -v 0.0.0.0:8388

11110 is docker's port

Sign up to request clarification or add additional context in comments.

1 Comment

As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.