您的位置:首页 > 移动开发 > 微信开发

外网映射工具

2016-07-03 09:01 567 查看
由于开发微信时需要把服务器暴露在外网上,NodeJs有个开源的工具可以实现,利用这个工具我们就可以实现外网和内网的NAT转换了


Quickstart

Install Localtunnel globally (requires NodeJS) to make it accessible anywhere:
npm install -g localtunnel


Start a webserver on some local port (eg http://localhost:8000) and use the command line interface to request a tunnel to your local server:
lt --port 8000
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  nodejs server 微信