No public network IP, quickly complete the remote development and debugging of WeChat applets

WeChat has a user base of 1.2 billion, and its strong social and communication attributes allow many companies to use WeChat for marketing. The WeChat applets, which are based on WeChat, have become a powerful tool for corporate marketing because they can be easily acquired and disseminated within WeChat.

 

Mini Programs are a new open capability. Developers can quickly develop a Mini Program, and the WeChat Mini Program official also provides more detailed development documents. Developers only need to register a Mini Program account, download and install the development tools, and start Developer tools can be edited and debugged.

In general, the WeChat platform calls the locally built service through the provided server URL domain name, so the developer needs to prepare a URL to call the local service first, so that external network users can access the related locally built services through this URL. That is to publish the local service to the public network so that the external network can access it smoothly.

Therefore, in the process of debugging and releasing applets, there are three problems to be solved according to relevant requirements:

1. The url address to call needs a domain name that has been filed, but the filing period of the domain name is longer;

2. Domain name registration requires a fixed ip, and the purchase price of a fixed ip is relatively expensive;

3. The url address to call must use https encryption protocol.

For the above problems, fast analysis intranet penetration realizes fast access to various applications on the intranet in any region, at any time, and in any network environment without a public network IP, and comes with an https domain name. Fast Analytic intranet penetration has 20 years of long-distance connection technology accumulation, and is an earlier service provider in China that provides domain name resolution and intranet penetration. It can help developers easily complete the development and debugging of small programs.

server deployment

1. Deploy the local server and ensure that the local can be accessed normally.

2. Download and register a quick analysis intranet version account, log in to the client and click "Add Mapping" to pop up a dialog box and fill in the relevant content according to the prompts:

Mapping name: customizable;

Public network type: refers to the port used for external network access;

Intranet IP address: refers to the intranet server address where the application is located;

Application port: refers to the port of the application software itself. After completing the filling, click OK to generate the external network access address and port.

 

3. Open the WeChat developer tool, add the URL to the project that needs to be debugged as the mapped HTTPS address, and you can start debugging the WeChat applet.

In order to further ensure the access requirements and security requirements of large concurrent enterprises, Quick Analysis has developed Worry-Free Edition, Diamond Edition, Ultimate Edition, and Xingyao Edition intranet penetration products. These versions not only support https protocol, free ports, high bandwidth, etc. , while adding access whitelist and access password functions to make enterprise data more secure. 

Guess you like

Origin blog.csdn.net/asdaddsd/article/details/129871466