Get the App
SLTechnology News&Howtos  ›  Development  › 

Sample Analysis of Ngrok Environment preparation for Wechat Development

Shulou Source: shulou.com Published: 2022-06-03 18:10:49 11月13日 Update

Xiaobian to share with you the example analysis of WeChat development Ngrok environment preparation, I believe most people still do not know how, so share this article for everyone's reference, I hope you have a lot of harvest after reading this article, let's go to understand it together!

Why use ngrok?

As you all know, to do WeChat development, our development server needs to interact with WeChat server, SO, we need to prepare a server placed on the public network, so that our server can access WeChat server normally, and WeChat server also needs to be able to access our development server normally. Usually our development server is placed in the intranet, WeChat server can not interact with our intranet server, which makes our development very difficult, step on some pits, find http://ngrok.cc, you will follow me to configure our ngrok service ~~

II. Tool preparation

1. node (other web servers can also be used)

2. ngrok client (download according to your own computer system)

III. Steps

1. Visit ngrok authorization management system (http://www.ngrok.cc/login), click Register, register account.

2. Log in to ngrok authorization management system

Fill in the appropriate information

As shown below:

3, added successfully

4. Download the client and extract it

5. Start ngrok service: id number is the client id of the upper figure.

started successfully

6. Start local server

7. Enter http://muyunyun.ngrok.cc (the address mapped in step 5) into your browser.

The above is all the contents of this article "Example Analysis of Ngrok Environment Preparation for WeChat Development". Thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!

Tags: Service server development preparation client client article system environment example analysis success content management system management clang difficulty not much information address Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker macOS OPPO Reno Redmi Shulou Information