[asking for help] did you encounter similar problems when developing Wechat's official account to set up the IP whitelist?

1. The IP of the server is 43.242.131.15, which is added to the IP whitelist in the official account of Wechat
2. When debugging, the IP, of 122.14.129.53 is also added to the IP whitelist in the official account of Wechat
3. When the customer is in use, the IP 122.14.129.61 is also added to the IP whitelist in the official account of Wechat

.

what I don"t understand is that you should just add the IP of the server to the whitelist. Why are there two other IP?
three IP information is shown in figure:

.
Php
Feb.28,2021

just add the server public network ip to the whitelist.
as for your question, check whether your server is configured with cdn acceleration. If cdn whitelist is added to the ip of Wechat server


print the log returned by Wechat API. If the corresponding server public network IP is not under Wechat's whitelist, Wechat will return the access clientip is not registered hint, with a specific IP when adjusting the interface, and fill the IP into the whitelist.

Menu