studiosoft
Coder
I have some experience of using Node.js on a VPS but I am trying to set up an app on shared hosting. I can get it to respond when I access it via the URL but when I try to connect from a browser the request is being 301 redirected but I have no idea why. The techs on the shared hosting are trying to help but admit they are not Node.js savvy.
I am creating the socket within the HTML page and the link is working OK. If I insert a none existent URL, it gives an error, as you would expect.
socket = new WebSocket('wss://www.<domain>.co.uk:443');
My question is how do I dig into this deeper to get to the bottom of the mystery?
I am creating the socket within the HTML page and the link is working OK. If I insert a none existent URL, it gives an error, as you would expect.
socket = new WebSocket('wss://www.<domain>.co.uk:443');
My question is how do I dig into this deeper to get to the bottom of the mystery?