Skip to content

DaanS8/wss_error

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

wss_error

How to run

install ws:

npm i ws

Run:

node main.js

Generated certificates

openssl genrsa -des3 -out myCA.key 2048
openssl req -x509 -new -nodes -key myCA.key -sha256 -days 1825 -out myCA.pem
openssl rsa -in myCA.key -text > private.pem

Testing

Go to https://www.piesocket.com/websocket-tester

wss://localhost:8888 works wss://my_ip:8888 gives an error

get your ip with ifconfig in linux or ipconfig on windows

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages