TCP/IP 管理工具
概述
获取本机公网 IP
ipify
func main() {
res, _ := http.Get("https://api.ipify.org")
ip, _ := ioutil.ReadAll(res.Body)
os.Stdout.Write(ip)
}
其他
https://ip.netarm.com http://ip.cip.cc http://ip.sb https://geo.ipify.org/docs
反馈
此页是否对你有帮助?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.