Writing a bash script to connect to GDAX\'s Websocket Feed at wss://ws-feed.gdax.com but curl doesn\'t seem to support this as I get
curl \"wss://ws-feed.gd
You can connect to your server using Telnet also
telnet 120.22.37.128 6870
Once you connect you can send request in Json format
{"requestType":"hi"}
Here 6870 is port port and to open port you need to run
sudo ufw allow 6870
And to check pm2 logs you required to use below command
pm2 logs 0
Hope this hepls.