I am trying to connect to websocket in browser and it's giving me
WebSocket connection to 'wss://mywebsite.com:9090/' failed:
But if i try to connect it with command prompt using
telnet mywebsite.com 9090
Then it's giving black screen in command prompt.
onError event returning following data
bubbles: false
cancelBubble: false
cancelable: false
composed: false
currentTarget: WebSocket {url: 'wss://learn.launchpadlearning.ca:9090/', readyState: 3, bufferedAmount: 0, onopen: ƒ, onerror: ƒ, …}
defaultPrevented: false
eventPhase: 0
isTrusted: true
path: []
returnValue: true
srcElement: WebSocket {url: 'wss://learn.launchpadlearning.ca:9090/', readyState: 3, bufferedAmount: 0, onopen: ƒ, onerror: ƒ, …}
target: WebSocket {url: 'wss://learn.launchpadlearning.ca:9090/', readyState: 3, bufferedAmount: 0, onopen: ƒ, onerror: ƒ, …}
timeStamp: 32264.29999999993
type: "error"
onClose giving code 1006 null reson
website is running on aws ec2 instance