文章目录
- 1. ngrok下载: https://ngrok.com/download
- 2. 登录ngrok获取access token: ngrok.com --> [Your Authtoken] --> [copy]
- 3. 执行` ngrok authtoken [Your Authtoken]`
- 4. windows环境执行` ngrok.exe http 127.0.0.1:9000`
- 5. ngrok 错误 ERR_NGROK_108 修改ngrok.yml中version由2改为1
- 6. ngrok 客户端:`Forwarding https://7460-117-136-79-163.ngrok-free.app -> http://127.0.0.1:9000 `
1. ngrok下载: https://ngrok.com/download
2. 登录ngrok获取access token: ngrok.com --> [Your Authtoken] --> [copy]
3. 执行 ngrok authtoken [Your Authtoken]
注意: Authtoken saved to configuration file: C:\Users\WCC\AppData\Local/ngrok/ngrok.yml
4. windows环境执行 ngrok.exe http 127.0.0.1:9000
5. ngrok 错误 ERR_NGROK_108 修改ngrok.yml中version由2改为1
6. ngrok 客户端:Forwarding https://7460-117-136-79-163.ngrok-free.app -> http://127.0.0.1:9000
其中https://7460-117-136-79-163.ngrok-free.app
为在公网下可访问地址,每次都不一样