What's your server side javascript (nodejs) code look like?
node socket.js not working with https
Hi, i want to make realtime application. i follow this guide https://laracasts.com/discuss/channels/general-discussion/step-by-step-guide-to-installing-socketio-and-broadcasting-events-with-laravel-51?page=1 and everything works on my server, but after activate ssl for my domain this not work
i got this error in my console Failed to load resource: Could not connect to the server.
how to solve that ?
You need to require('https') and pass in your certificate keys and such.
Since https is not currently supported by your node server as implemented, it's not going to work when loading the page with https.
Please or to participate in this conversation.