好东西要分享

将微信服务器、API接口的IP列表加入宝塔防火墙IP白名单

WordPress 一直是一个最棒的 CMS 内容管理系统,也能够非常轻松的跟微信公众号等进行对接,那么为了防止防火墙将微信功能误拦,我们需要将微信服务器、API 接口 的 IP 列表加入白名单。由于缙哥哥使用的是宝塔控制面板,所以这里附带宝塔防火墙IP白名单导入规则。

将微信服务器、API接口的IP列表加入宝塔防火墙IP白名单

宝塔IP白名单导入规则

[[[58,251,80,204],[58,251,80,204]],[[58,246,220,31],[58,246,220,31]],[[36,152,5,109],[36,152,5,109]],[[203,205,239,94],[203,205,239,94]],[[203,205,239,82],[203,205,239,82]],[[183,57,48,62],[183,57,48,62]],[[183,3,234,152],[183,3,234,152]],[[182,254,92,124],[182,254,92,124]],[[182,254,88,157],[182,254,88,157]],[[163,177,83,164],[163,177,83,164]],[[140,207,119,12],[140,207,119,12]],[[121,51,166,37],[121,51,166,37]],[[121,51,130,115],[121,51,130,115]],[[117,184,242,111],[117,184,242,111]],[[112,60,0,235],[112,60,0,235]],[[112,60,0,226],[112,60,0,226]],[[101,227,162,120],[101,227,162,120]],[[101,226,212,27],[101,226,212,27]],[[203,205,219,179],[203,205,219,190]],[[121,51,162,55],[121,51,162,55]],[[121,51,162,73],[121,51,162,74]],[[59,36,121,222],[59,36,121,223]],[[58,60,9,75],[58,60,9,78]],[[157,255,192,54],[157,255,192,55]],[[121,51,66,120],[121,51,66,120]],[[121,51,66,26],[121,51,66,26]],[[121,51,66,19],[121,51,66,19]],[[121,51,66,16],[121,51,66,16]],[[101,91,60,80],[101,91,60,81]],[[223,166,222,100],[223,166,222,123]]]

微信IP列表

以下为 WordPress 对接微信公众号所对应的微信服务器 IP 地址和微信 API 接口 IP 地址。

微信服务器IP地址

  • 223.166.222.100
  • 223.166.222.101
  • 223.166.222.102
  • 223.166.222.103
  • 223.166.222.104
  • 223.166.222.105
  • 223.166.222.106
  • 223.166.222.107
  • 223.166.222.111
  • 223.166.222.112
  • 223.166.222.117
  • 223.166.222.118
  • 223.166.222.120
  • 223.166.222.121
  • 223.166.222.122
  • 223.166.222.123
  • 101.91.60.80
  • 101.91.60.81
  • 121.51.66.16
  • 121.51.66.19
  • 121.51.66.26
  • 121.51.66.120
  • 157.255.192.54
  • 157.255.192.55
  • 58.60.9.75
  • 58.60.9.76
  • 58.60.9.77
  • 58.60.9.78
  • 59.36.121.222
  • 59.36.121.223
  • 121.51.162.73
  • 121.51.162.74
  • 121.51.162.55
  • 203.205.219.187
  • 203.205.219.188
  • 203.205.219.189
  • 203.205.219.190
  • 203.205.219.179
  • 203.205.219.180
  • 203.205.219.181
  • 203.205.219.182
  • 203.205.219.183
  • 203.205.219.184
  • 203.205.219.185
  • 203.205.219.186

微信API接口IP地址

  • 101.226.212.27
  • 101.227.162.120
  • 112.60.0.226
  • 112.60.0.235
  • 117.184.242.111
  • 121.51.130.115
  • 121.51.166.37
  • 140.207.119.12
  • 163.177.83.164
  • 182.254.88.157
  • 182.254.92.124
  • 183.3.234.152
  • 183.57.48.62
  • 203.205.239.82
  • 203.205.239.94
  • 36.152.5.109
  • 58.246.220.31
  • 58.251.80.204
  • hk.api.weixin.qq.com.

相关推荐

  • 暂无文章

评论 抢沙发

评论前必须登录!