err_connection_refused error
Hi there,
I'm unable to connect a Rails app using the socket.io client to the a Nodejs app socket.io server. Both are running on localhost but different ports. I did find a few answers about the very same error on stackoverflow but none seem to be working for me. Anything in particular I can do or maybe am overlooking here?
Regards, Rashid
Even tried 'io('localhost', {port: 4210}) to no avail.
Post your error?
Managed to get it to work eventually by: 'io.connect('127.0.0.1:4210)'. Localhost doesn't seem to work, any reason before I close the issue?
Mac: http://stackoverflow.com/questions/5985034/localhost-doesnt-resolve-to-127-0-0-1 Windows: http://www.softaculous.com/board/index.php?tid=4857 Or just google "localhost doesn't resolve" I think it's a local issue due to your environment. Can you ping localhost?
That issue was closed automatically. Please check if your issue is fixed with the latest release, and reopen if needed (with a fiddle reproducing the issue if possible).