Answer the question
In order to leave comments, you need to log in
How to make Websocket work on HTTPS?
Hello.
Help, please, to understand. Studying the topic, I got confused.
Installed node.js, started the server. I connect via new WebSocket("ws://Server_IP:Port");
If SSL is disabled (that is, a site on http) - everything works fine.
If I enable SSL and change the connection to WebSocket("wss://IP_Server:Port") - I get an error.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question