1

使用 ngrok 内网穿透工具

 2 years ago
source link: https://blog.xiaoi.me/2019/10/23/ngrok-service
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

使用 ngrok 内网穿透工具

  • date_range更新于 2019/12/04 info

ngrok 微信开发必备神器,ngrok 是一个反向代理,通过在公共的端点和本地运行的 Web 服务器之间建立一个安全的通道。QQ群:619152722

* 下载客户端,解压之后运行 start.bat,默认 8080 可直接通过生成的随机域名访问。

* 若本地非 8080 端口,右键编辑 start.bat 文件,将最后的 8080 换成指定端口,例如 80 即可。

* 若需要固定域名例如: test ,修改内容:```ngrok -config ngrok.cfg --subdomain test 8080```,访问时通过:http://test.4kb.cn(或者:https://test.4kb.cn 加密访问) 即可。

* 如果无法连接服务器,请使用命令 ```ping ngrok.4kb.cn``` 检查 IP 是否为 ```112.124.46.214```,若不是,请手动绑定 HOSTS,若不知道如何绑定 HOSTS,请善用搜索引擎

64 位系统

* Windows 客户端

* Linux 客户端

* Mac 客户端

32 位系统

* Windows 客户端(32位)

* Linux 客户端(32位)

* Mac 客户端(32位)


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK