Wrong Ports
fercarvo opened this issue · 1 comments
fercarvo commented
As I understand the client establish a [ws] connection with a [host:port] server, so, you just acces the server and it will forward all traffic to the client.
But if I have an app running at port 3000 in my PC and try to run
wstunnel -t 3000 ws://publicdomain.com:9000
but it will try to open the already used port 3000, wth? that doesn't make any sense.
mhzed commented
It forwards from local port to server via ws connection, not the otherway around. Your command above will trigger listening locally on port 3000, and any connection to localhost:3000 will be forwarded to server via WS connection.