Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wscat uses port 80 for wss:// by default #68

Closed
codedot opened this issue Apr 30, 2012 · 1 comment
Closed

wscat uses port 80 for wss:// by default #68

codedot opened this issue Apr 30, 2012 · 1 comment

Comments

@codedot
Copy link

codedot commented Apr 30, 2012

alexo@codedot:~$ wscat -c ws://localhost/

connected (press CTRL+C to quit)

< socket.send("Hello World!");

Hello World!

< alert("Hello World!");

alexo@codedot:~$ wscat -c wss://localhost/

error: Error: socket hang up undefined

alexo@codedot:$ wscat -c wss://localhost:443/
connected (press CTRL+C to quit)
< socket.send("Hello World!");
Hello World!
< alert("Hello World!");
alexo@codedot:
$

@einaros
Copy link
Contributor

einaros commented Apr 30, 2012

Thanks, fixing in version being pushed now.

@einaros einaros closed this as completed Apr 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants