"Dynamic Domain name resolution tool" tunnel, domestic version of Ngrok, peanut shell can sleep

Source: Internet
Author: User

In the author's series of development tutorials, there is a relatively basic and important section: Development debugging. In the article I recommend two dynamic domain name resolution tools to deploy the local development environment as a server, one is peanut shell, one is Ngrok, but after all, I can not afford to wait for the cock or not willing to pay to try the peanut shell, resulting in peanut shells often come to the big Aunt (parsing failure). And Ngrok of the server is foreign, and the celestial network presumably we all understand. In such an environment, the commissioning of the time seems particularly inconvenient. Inadvertently, see tunnel such a tool, looked at the introduction of Xia Guan Net, feel try to use under, finally let me feel abandon use peanut shell and Ngrok. As for why, I can only say who knows with whom. (in order to be mistaken for the advertising party, do not post the URL, you search for it.) Not much to say, directly on the dry.

The following is the direct use of instructions:
The first step: Download the client. Linux version,Mac OSX Version,32Bit win version,64Bit win version
Step two: Download the configuration file ngrok.cfg
Step three: Unzip the downloaded client and place the configuration file Ngrok.cfg in the same folder, where I name my folder Ngrok.
Fourth step: Create a new text document in the Ngrok folder and add the following to the text document:
CD C:\ngrok\
Ngrok-config Ngrok.cfg-subdomain WXO2O 80


Note: The path behind the CD above represents the path where the Ngrok file and the ngrok.cfg are located. followed by a line break.
in the second row, WXO2O represents the assigned domain name, and 80 represents the port of the local computer. In the actual use, please change their corresponding.


Finally, save this document and modify the file's extension to. bat, the final file structure is as follows:

Each time you need to allow Ngrok, just execute the "start Agent. bat" file. Note: The Open cmd Command window cannot be closed during use.
The cmd Command window after executing the "Start Agent. bat" file looks like this:

On the top there are lines of green text, tunnel Status online, which indicates that our domain name has been successfully bound to the local port. Now let's look at the effect of visiting our local website.
First, add a Web site to IIS and bind the Web site to port 80. As shown in the following:


Then visit the URL: http://wxo2o.tunnel.mobi/,
The effect after execution is as follows:


According to the above steps, I have written a gadget, interested friends can download the use directly.

Http://pan.baidu.com/s/1mgndzQC

If in doubt Dabigatran together to communicate, I need the broad dick wire small partner feedback and suggestions,

Statement: This blog post is my first published in my Building a forum for development and exchange (micro-Rabbit Code farming said), but because the forum popularity is really too low, so sent to the garden, but also hope to help more friends. This article is absolutely original, piracy must investigate.

"Dynamic Domain name resolution tool" tunnel, domestic version of Ngrok, peanut shell can sleep

Related Article

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.