Ngrok uses [intranet service mapping to external network]

1, Download the Windows version of the client, unzip it to your favorite directory

2. Go to path/to/windows_386/ on the command line.
3. Execute ngrok -config=ngrok.cfg -subdomain xxx port[8080] //(xxx is your custom domain name prefix, port number)
4, If you open it successfully, you can use xxx.tunnel.qydev.com to access your local 127.0.0.1:80 service
5. If you have your own top-level domain name and want to access your local project through your own domain name, then First resolve your own top-level domain name to 123.57.165.240 (the domain name needs to be filed), then execute ngrok -config=ngrok.cfg -hostname xxx.xxx.xxx 80 //(xxx.xxx.xxx is your custom top-level domain name domain name)
6. If the activation is successful, you can use your top-level domain name to access your local 127.0.0.1:80 service.

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326814349&siteId=291194637
Recommended