Use of ngrok.cc

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.