macOS tcping 检测IP端口

本文介绍如何在MacOSX上安装并使用TCPing工具,通过具体步骤指导用户检测IP端口是否被屏蔽。首先,文章详细说明了安装TCPing所需的前置条件及解决方法,包括修改文件权限等。随后,演示了如何使用TCPing检测特定IP地址的80端口状态。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1,安装tcping

$ brew search tcping
==> Formulae
tcping
$ brew install tcping
Error: The following directories are not writable by your user:
/usr/local/share/man/man8

You should change the ownership of these directories to your user.
  sudo chown -R $(whoami) /usr/local/share/man/man8

And make sure that your user has write permission.
  chmod u+w /usr/local/share/man/man8
$ sudo chown -R $(whoami) /usr/local/share/man/man8
Password:
$ chmod u+w /usr/local/share/man/man8
$ brew install tcping

$ which tcping
/usr/local/bin/tcping

2,检测IP端口是否被屏蔽

$ tcping 14.215.177.39 80
14.215.177.39 port 80 open.

参考:

  1. Install tcping on Mac OSX
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值