search

Home  >  Q&A  >  body text

node.js - koa.js 怎么 listen 到指定的 ip ?

koa.js 怎么 listen 到指定的 ip ?

迷茫迷茫2784 days ago588

reply all(1)I'll reply

  • 怪我咯

    怪我咯2017-04-17 13:10:57

    The API for nodejs to listen to the specified IP and port is
    .listen(port, hostname[, callback])

    The same is true for koaljs~~

    reply
    0
  • Cancelreply