Home  >  Q&A  >  body text

node.js - 微信小程序websocket连接问题

怪我咯怪我咯2765 days ago679

reply all(2)I'll reply

  • 高洛峰

    高洛峰2017-04-17 15:52:13

    Two situations

    • Did you add the APP ID and domain name when creating the app?

    If you created an APP ID and added the APP ID when creating the mini program, you need to go to the management backend to add the corresponding domain name
    Tip: After adding, restart your development tool and run it again

    • If you are testing without APP ID, it is mostly because your express-ws is not configured correctly

    It may be because your local service is not configured properly

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 15:52:13

    Friend, how did you solve it? My express also encountered this problem

    reply
    0
  • Cancelreply