Ngrok, a tool for ing Intranet to Internet, is used to map ngrok
1. Download The ngrok tool (including egrok software and instructions for use)
: Http://pan.baidu.com/s/1hqlIJRY password: mg3b
2. On the cmd command line, go to the Software Directory (no software installation is required) and run the following command: ngrok-config ngrok. cfg-subdomain evan 8080.
Step: My ngrok Software Directory is D:/ngrok/ngrok.exe
1. Enter d:/ngrok and run the ngrok-config ngrok. cfg-subdomain evan 8080 command.
2. After execution:
Local access address: http: // localhost: 8080/JavaTestProject/index. jsp
Public Network Access address: http://evan.tunnel.mobi/JavaTestProject/index.jsp
Note:
1. To run the command, run ngrok-config ngrok. cfg-subdomain evan 8080 in the folder.
2. When using the public network, the cmd command window cannot be closed. When the window is closed, you need to execute the command again.