I have a PHP application which uses websockets, When I run it on my local, it works fine, but when I deploy it on my web host, it doesn’t anymore. I am on cloud-web-1 of OVH. I saw that this plan supports websockets. When I launch the PHP server script with SSH, it works fine, but on the client side, when I create a js object socket with url of the websocket ws://ip-address:port or wss or ws://my-domain:port , it never work and it always show error on the browser console like “Connection to websoccket failed.”,
Help me please, Thanks