ngrok.cc Introduction:
Its services based on Ngrok implementation, to prevent Ngrok official website by the wall can not access, the server set up in Hong Kong, not only greatly speed up the speed of everyone's visit, but also not afraid to be wall,
And it's completely free. Website address:: http://ngrok.cc/
Applicable scenarios:
1, web development The Web service on your PC is open directly to the extranet, no longer worrying about no router permissions and 80 ports being closed by the operator
2, Development of the Solve the local 80 port is inaccessible, do not need to repeat the file upload to the server, save a lot of upload time, based on local writing code can be done by debugging
3. TCP port Forwarding not only does the port forwarding of the HTTP service support TCP ports, because the server port is limited, sometimes it may be unsuccessful .
Build Steps:Download Client
Download the client version of the OS of the corresponding system (site-to-bottom location), I download here is the win 64bit
registering the build auth_token
Be sure to register to generate this token value, otherwise it will not start. The registered address is:
Http://ngrok.cc/login. If (I have already registered here)
Here, this token value is the one we're going to use later in the configuration.
Add a new domain name
Click Add in the domain Name list to pop up the following screen:
Red box position You can enter the name you want to enter remember not to repeat. Generate the following result graph:
Modifying a configuration file
Find the client's decompression directory, I put on the D disk. As shown in. There's a ngrok.cfg here.
modify the relevant parameters of the NGROK.CFG, as shown in:
Start
Enter the Ngrok client's decompression directory with the cmd command, and type the command as shown:
In fact, we can also make the above command into a. bat file, you can double-click execution. No need to type a command every time (there are many such tutorials on the web, not described here!) )
The startup succeeds as shown in:
Let's check it out:
Modify the local Tomcat port to 8080 (not described here), and then start Tomcat, and we test whether the http://jair1314.ngrok.cc will be able to access the Tomcat home page properly? Test results, such as proof of success!
Use of ngrok.cc