Hi I'm having a problem with my io.connect("mydomain:3000") (for my case I'm testing it on localhost so where "mydomain" is "http:// localhost") line on my laravel view file I am seeing error on my browser console like this one "Failed to load resource: the server responded with a status of 404 (Not Found)" but when I change my io.connect parameter to my IP address it worked very well but my problem is I don't really want to rely on my IP address so if anyone has a fix for this please help me. Thanks in advance!
By the way I'm using larval framework so I connected my socket.io.js file this way:
{{HTML::script("node_modules/socket.io/node_modules/socket.io-client/socket.io.js")}}