I was implementing laravel websockets package in project it is working fine in my local machine but on server first it was giving error of Connection timeout That problem was solved when add TCP port in aws security group but after that it starts giving new error

WebSocket connection to 'ws://52.64.101.38:6001/app/ABCDEF?protocol=7&client=js&version=4.3.1&flash=false' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

Here are errors I am getting in console when try to connect websocket server enter image description here

I was searching about this error i found this github thread . Which is saying try to bound with 0.0.0.0 but I dont know what does it means,

https://github.com/GeniusesOfSymfony/WebSocketBundle/issues/251

I was also getting this error on local machine but was later resolved when i downgrade package version 1.6

NOTE: I am using ubuntu server aws services

0

There are 0 answers