Skip to main content
科技
2分钟 read
Updated 2026年3月

如何查找 IP 地址

查找你的公网和本地 IP 地址

Quick Answer

在 Google 搜索「what is my IP」可查看公网 IP。本地 IP:Windows 用 ipconfig,Mac 进入 系统设置 > 网络。

Step-by-Step Guide

1

公网 IP(任意设备)

直接在 Google 搜索 'what is my IP' 或访问 whatismyip.com,即可显示你的公网 IP。

💡这是你连接互联网时别人看到的 IP 地址。
2

Windows 本地 IP

打开命令提示符,输入 ipconfig,在网络适配器下方找到「IPv4 地址」。

💡也可前往 设置 > 网络 > 属性 查看 IP。
3

Mac 本地 IP

前往 系统设置 > 网络,选择你的连接方式(Wi-Fi/以太网),即可看到 IP 地址。

💡或打开终端,输入 'ipconfig getifaddr en0' 查看 Wi-Fi IP。
4

iPhone/Android

进入 设置 > Wi-Fi,点击当前网络名称,在详情中找到 IP 地址。

💡这是你在当前网络中的本地 IP。

Frequently Asked Questions

公网 IP 和本地 IP 有什么区别?

公网 IP 是你的互联网地址(网络中所有设备共享);本地 IP 是你在家庭网络内的地址。

我的 IP 地址会变吗?

除非向运营商申请了固定 IP,否则公网 IP 通常会变化。每次重新连接网络时,本地 IP 也可能变化。

Related Guides

💻More from this category

Explore other topics

Was this helpful?
Share: