Friday, March 17, 2017

GET https://mydomain.server:6001/socket.io/socket.io.js net::ERR_CONNECTION_REFUSED

I'm trying to work with socket.io first time. I'm using Laravel 5.4, Laravel Echo and NodeJs server for Laravel Echo broadcasting with Socket.io..

I managed to make it work on my local as it supposed to work. But on server I get an error

GET https://mydomain.server:6001/socket.io/socket.io.js net::ERR_CONNECTION_REFUSED

I do run the server before. I write correct address. enter image description here

May be browser doesn't have access to that port or something?

Also I tried to access to the file with curl -X GET https://mydomain.server:6001/socket.io/socket.io.js command.

But got curl: (35) gnutls_handshake() failed: The TLS connection was non-properly terminated.



via Vlad Sarukhanyan

Advertisement