shadowsocks / shadowsocks-android

A shadowsocks client for Android
Other
35.06k stars 11.58k forks source link

Can't access 127.0.0.1 or 0.0.0.0 of remote server #2828

Closed DUOLabs333 closed 2 years ago

DUOLabs333 commented 2 years ago

Please read contributing guidelines. Thanks.

Describe the bug I have several services running locally on a server where I'm running the proxy. If I connect to it from my Macbook, I can access all the services on 127.0.0.1, but I can not do the same if I run this client

To Reproduce Steps to reproduce the behavior:

  1. Run local services on remote server
  2. Connect to it by this client
  3. Try to access 0.0.0.0:$PORT, where $PORT is where a service is running
  4. You can't connect to it

Expected behavior I can connect to the service

Screenshots If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

Configuration Put an x inside the [ ] that applies.

Additional context Add any other context about the problem here.

Mygod commented 2 years ago

Expected behavior.

Mygod commented 2 years ago

You can try to use the server's local IP address.

DUOLabs333 commented 2 years ago

Why would that work? The service is running locally.