简介
ngrok 是一个反向代理,通过在公共的端点和本地运行的 Web 服务器之间建立一个安全的通道。ngrok 可捕获和分析所有通道上的流量,便于后期分析和重放。
国内:https://www.ngrok.cc/
国外:https://ngrok.com
步骤
1、注册
2、下载,https://ngrok.com/download
3、授权 ngrok -authtoken 你的授权,CMD命令行
$ ./ngrok.exe authtoken 5fUpuCXhhDWGSxz23p2R5s_4j2Vmbw3QvGCZfFwXNRRs
Authtoken saved to configuration file: C:\Users\tinywan/.ngrok2/ngrok.yml
使用
1、启动http 80端口
./ngrok.exe http 80
执行结果

2、访问地址:https://7c72cae1.ngrok.io/ 即可打开本地80 web服务
3、查看控制台 https://dashboard.ngrok.com/status

搭建属于自己的ngrok服务器,实现内网穿透,外网访问内网,可本地开发微信不需要上传服务器
作者:Tinywan
















