---
title: "Comment by Bunm Jyo on \"获取当前的外网ip地址命令\" | Hashnode"
description: "curl -k 'http://ip-api.com/json/8.8.8.8' 还可以对指定的ip地址信息进行查询"
url: "https://hashnode.com/posts/myip/66e6ec513dbe6f41c983ad38/comment/674de6199890490934de34d3"
---

[Discussion](https://hashnode.com/posts/myip/66e6ec513dbe6f41c983ad38)

Comment [获取当前的外网ip地址命令](https://hashnode.com/posts/myip/66e6ec513dbe6f41c983ad38)

[Bunm Jyo](https://hashnode.com/@code0515)

[Dec 2, 2024](https://hashnode.com/posts/myip/66e6ec513dbe6f41c983ad38/comment/674de6199890490934de34d3)

curl -k '[ip-api.com/json/8.8.8.8](http://ip-api.com/json/8.8.8.8)' 还可以对指定的ip地址信息进行查询
