我是用域名指向一个IPV6地址(即本地电脑),我测试用域名可以请求到本地电脑的,好像微信支付通知没有请求到我的服务
POST https://1977.work/shop/scores/2211088962/notify
Content-Type: application/json
{
"id": "EV-2018022511223320873",
"create_time": "2015-05-20T13:29:35+08:00",
"resource_type": "encrypt-resource",
"event_type": "TRANSACTION.SUCCESS",
"summary": "支付成功",
"resource": {
"original_type": "transaction",
"algorithm": "AEAD_AES_256_GCM",
"ciphertext": "",
"associated_data": "",
"nonce": ""
}
}
dig 1977.work @114.114.114.114 ; <<>> DiG 9.10.6 <<>> 1977.work @114.114.114.114 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14175 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;1977.work. IN A ;; AUTHORITY SECTION: 1977.work. 600 IN SOA dns25.hichina.com. hostmaster.hichina.com. 2022052002 3600 1200 86400 600 ;; Query time: 254 msec ;; SERVER: 114.114.114.114#53(114.114.114.114) ;; WHEN: Tue Nov 08 11:55:54 CST 2022 ;; MSG SIZE rcvd: 91
无公网可用IP地址,微信无从知晓你本地IPv4/IPv6地址是多少,你让TA咋通知你呢。