I am facing a issue while hosting the project on a shared hosting. My project is working properly on localhost, but when i shifted it on the server my websocket connection is not working on client side
I am using this--
var conn = new WebSocket('ws://example.com:8080');