tty.js
tty.js copied to clipboard
WebSocket connection port
Is it possible to specify which port socket.io should connect to for websocket sessions?
it uses the same port as you are using to connect to the website. websockets is http layer stuff.
you could change that behavior in this line: https://github.com/chjj/tty.js/blob/master/lib/tty.js#L44