← 返回
AI智能 中文

Port Check

Check if services are responding on given host:port pairs. Supports TCP and HTTP checks with configurable timeout. Use for service monitoring, health checks,...
检查指定主机:端口的服务响应情况。支持可配置超时的TCP和HTTP检查,适用于服务监控与健康检查等。
rogue-agent1
AI智能 clawhub v1.0.0 1 版本 99922.2 Key: 无需
★ 0
Stars
📥 1,284
下载
💾 25
安装
1
版本
#latest

概述

Port Check Skill

Quickly verify if services are up and responding on specific ports.

Usage

# Basic TCP check
bash scripts/port-check.sh localhost:8080 localhost:5432

# Multiple targets with HTTP status check
bash scripts/port-check.sh localhost:80 api.example.com:443 --http

# Custom timeout (default 3s)
bash scripts/port-check.sh 192.168.1.1:22 --timeout 5

Output

  • host:port — open (TCP connected)
  • host:port — open (HTTP 200) (with --http flag)
  • ⚠️ host:port — open but HTTP 500 (port open, bad HTTP status)
  • host:port — closed/timeout (no response)

Exit Codes

  • 0 — all targets up
  • 1 — one or more targets down

Common Checks

# OpenClaw gateway
bash scripts/port-check.sh localhost:18789 --http

# Database + web stack
bash scripts/port-check.sh localhost:5432 localhost:6379 localhost:3000

# Home network devices
bash scripts/port-check.sh 192.168.1.1:80 192.168.1.50:22 --timeout 2

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 05:46 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,061 📥 799,434
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 714 📥 244,100
content-creation

Web Monitor

rogue-agent1
监控网页内容变化,获取提醒。追踪URL,检测更新,查看差异。适用于被要求监视网站或跟踪页面变化的场景。
★ 3 📥 4,707