Client doesn't connect to NodeJs Socket.io server when IP specified


0 votes
asked Mar 16, 2016 by pretty (900 points)
I'm creating simple nodejs server with socke.

5 Answers

0 votes
answered Apr 13, 2016 by mentiondidnt (630 points)
 
Best answer
This is useful when you want to have a global variable
More information at https://azure.microsoft.com/en-us/documentation/articles/web-sites-nodejs-chat-app-socketio/
commented Apr 14, 2016 by skogen (1,150 points)
Does this seem like a possible answer to your situation
0 votes
answered Mar 18, 2016 by v9634 (400 points)

To add our client script and add the Socket.
Now we just need a way to interact with the VPS on the client side. Alien's answer is simple and useful, check it out How To Install Express, a Node.js Framework, and Set Up Socket.io on a VPS | DigitalOcean
commented Mar 19, 2016 by pickel (590 points)
I have this problem too after I changed the source folder
0 votes
answered Apr 3, 2016 by zvt_3847_ty (510 points)
This is useful when you want to have a global variable
More information at https://azure.microsoft.com/en-us/documentation/articles/web-sites-nodejs-chat-app-socketio/
0 votes
answered May 14, 2016 by pun6117 (120 points)
I just ran into another cause for this error that you can check for. Here is the page explaining it a bit
0 votes
answered May 18, 2016 by naf_2993_fo (220 points)
I just ran into another cause for this error that you can check for. Here is the page explaining it a bit

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!







...