search
HomeWeChat AppletWeChat DevelopmentNgrok environment preparation for WeChat development

Ngrok environment preparation for WeChat development

Feb 15, 2017 am 11:05 AM
WeChat development

1. Why use ngrok?

Everyone must know that when doing WeChat development, our development server needs to interact with the WeChat server. SO, we need to prepare a server placed on the public network so that our server can normally access the WeChat server. , and the WeChat server also needs to be able to access our development server normally. Normally, our development server is placed on the intranet. WeChat's server cannot interact with our intranet server, which makes our development very difficult. We stepped on some pitfalls and found http://ngrok.cc. Please follow me to configure our ngrok service~~

2. Tool preparation

 1. node (other web servers are also acceptable)

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

3. Steps

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

2. Log in to the ngrok authorization management system

Fill in the corresponding information

As shown below:

Ngrok environment preparation for WeChat development

3 , Added successfully

Ngrok environment preparation for WeChat development

4. Download the client and unzip it

5. Start the ngrok service: the id number is the client id

in the above picture

Ngrok environment preparation for WeChat development

Start successfully

Ngrok environment preparation for WeChat development

6. Start the local server

Ngrok environment preparation for WeChat development

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

Ngrok environment preparation for WeChat development


For more articles related to Ngrok environment preparation for WeChat development, please pay attention to the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.