Why does my node.js / socket.io app not work on iOS6?

后端 未结 1 1697
忘掉有多难
忘掉有多难 2021-02-14 05:39

I thought the whole point of socket.io was to not have to worry about modern browsers? lol

Anyway, I am new to socket programming. I have a small app that simply mimic

1条回答
  •  走了就别回头了
    2021-02-14 06:21

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

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

    0 讨论(0)
提交回复
热议问题