Dastur's avatar

Issues with laravel echo and socket.io

I'll cut straight to the chase. I have my laravel-echo-server setup and laravel echo is setup as well, but the is not working. It keeps on throwing this error: socket.io-1.4.5.js:1GET http://app.dev:6001/socket.io/?EIO=3&transport=polling&t=LRaCeus net::ERR_ICANN_NAME_COLLISION. I have no idea what to do. In my socket server, I defined the url as http://192.168.10.10:6001, but it looks like it's trying to hit http://app.dev:6001 instead. This is really frustrating and I have no idea what to do.

Thanks.

0 likes
2 replies
jimmck's avatar

app.dev is this a default for Valet? Hard coded somewhere?

Dastur's avatar

I think it might be hard coded somewhere, but that would be very strange considering not every website is going to run on app.dev. app.dev is also the default for homestead.

Please or to participate in this conversation.