← 返回
开发者工具 中文

Myip

Get both public (external) and local (internal) IP addresses using simple shell commands. Use when the user asks for their IP, public IP, or local network ad...
使用简单的 shell 命令获取公网(外部)和本地(内部)IP 地址。当用户询问其 IP、公网 IP 或局域网地址时使用。
chenxinjie005
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 490
下载
💾 8
安装
1
版本
#latest

概述

My IP Checker

This skill discovers both the public (external) IP and the local (internal) IP of the current machine.

Step 1: Get public IP

Use a simple HTTPS endpoint that returns your public IP as plain text:

curl.exe -s https://ifconfig.me

If the service is blocked or slow, try:

curl.exe -s https://api.ipify.org

Step 2: Get local IPv4 address

On Windows (PowerShell or cmd):

ipconfig

Then filter the output for lines containing IPv4 地址 or IPv4 Address.

On Linux:

hostname -I

This typically returns one or more local IPs separated by spaces.

Usage notes

  • Use Step 1 when configuring firewalls, VPNs, or any external allowlist.
  • Use Step 2 when debugging LAN connectivity, port forwarding, or internal routing.
  • Prefer HTTPS endpoints and avoid adding API keys; these services are free and anonymous.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 04:01 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,585
developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 427 📥 118,410
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,937