ljy6600 发表于 2022-11-27 01:45:43

感谢分享,谢谢!:)

sz_xd 发表于 2022-11-27 22:10:44

本帖最后由 sz_xd 于 2022-11-27 22:51 编辑

发现你提出引用的网址返回的IP已出错了,

现用格友提供 这个东北大学网址可以返回客户端公网IP:speed4.neu6.edu.cn/getIP.php


【给大家两个api公网ipv4和ipv6】
https://gcdn.grapecity.com.cn/forum.php?mod=viewthread&tid=158041&fromuid=9683
(出处: 葡萄城产品技术社区)




这个搜狐的返回现已出错了
http://pv.sohu.com/cityjson?ie=utf-8






页: 1 2 3 [4]
查看完整版本: 前端获取公网IP方案(失效)