大家好,又见面了,我是你们的朋友全栈君。
检测IP端口
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.
参考:
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/152490.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...