stealth / sshttp

SSH/HTTP(S) multiplexer. Run a webserver and a sshd on the same port w/o changes.
http://c-skills.blogspot.com
869 stars 97 forks source link

Connection reset while detecting protocol. #17

Closed ghost closed 5 years ago

ghost commented 5 years ago

hello, I am experiencing similar problems as described here: https://github.com/stealth/sshttp/issues/11

If I run SSHTTP without binding a particular address just a port I get the following error. (curl localhost:2280 or ssh me@localhost -p 2280)

sshttp\:\: loop\:\:NS_Socket::bind_local::bind:Address already in use

If I run it with localhost:14080 localhost:228 I get the following error. (curl localhost:2280 or ssh me@localhost -p 2280)

sshttp\:\: loop\: Connection reset while detecting protocol.

Maybe I am missing something obvious, I am not an expert in networks. Any help is appreciated.