内网转发工具:ngrok
*下载后所属目录不能有中文
1. 进入ngrok官网(https://ngrok.com/),注册ngrok账号并下载ngrok;
2. 根据官网给定的授权码(登录后授权码从https://dashboard.ngrok.com/auth获取),运行如下授权命令;
ngrok authtoken 授权码
//80为需要转发的端口
ngrok http 80
//http://92832de0.ngrok.io为转发连接。
ngrok by @inconshreveable
Tunnel Status online
Version 2.0/2.0
Web Interface http://127.0.0.1:4040
Forwarding http://92832de0.ngrok.io -> localhost:80
Forwarding https://92832de0.ngrok.io -> localhost:80