I have set up a Laravel application in Aapanel and I am running some node js WebSockets files using the pm2 package.
When I do the testing using wscat , it successfully connects, however, when the client tries connecting to the WebSockets URL, the connection fails. It doesn't however give the reason for the failure. Even when I use other online testing tools, it still fails. What could be the issue and how can I go about fixing this issue?
Using wcat tool to test:

](https://)
Client trying to access the ws connection:
