且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

为什么我的node.js / socket.io应用程序无法在iOS6上运行?

更新时间:2023-10-20 12:47:10

Localhost是本机的本地。你应该使用IP地址或域名:

Localhost is local to the machine. You're IP should use a ip address or domain name:

类似于:
io.connect('192.168.1.110');
或io.connect('test.myapp.com');

something like: io.connect('192.168.1.110'); or io.connect('test.myapp.com');