---
title: "Discussion on \"获取当前的外网ip地址命令\" | Hashnode"
description: "Discussion on \"获取当前的外网ip地址命令\". get my ip of wan"
url: "https://hashnode.com/posts/myip/66e6ec513dbe6f41c983ad38"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [获取当前的外网ip地址命令](https://blog1.kshp.cc/myip?utm_source=hashnode&utm_medium=feed)

get my ip of wan

Sep 15, 2024 · 1 min read · blog1.kshp.cc  
Read the article

-   [#myip](https://hashnode.com/tag/myip)

## Written by

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

@code0515 · Yiwu,CN

  
[View profile](https://hashnode.com/@code0515)

Help more people

## Responses

Markdown supported · ⌘↵ to post

[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地址信息进行查询
