Connect to an electrum server via websockets
Install
sudo apt install nodejs
sudo apt install npm
npm i ws
Run
node websocket.js
and if successful this will output "Connection opened"
The connection will show up on the server side (fulcrum) as:
ID IP:PORT Typ UAgent ProtocolVer Subs HdrSub? ReqRcv RespSent RecvBytes SentBytes TxsSent Notifs ErrorCt Elapsed
4462488 <ip1>:49322 SSL electrum/4.5.4 1.4 0 Y 5649 5649 418821 514796 0 118 0 22.44 hours
5535723 <ip2>:6653 SSL electrum/4.5.3 1.4 0 Y 232 232 16934 11707 0 3 0 59.5 mins
5591372 <client ip>:33482 WSS Unknown 1.4 0 N 0 0 0 0 0 0 0 52.1 secs