Debian 如何检查开放了哪些端口
1、命令安装
sudo apt install iproute2
2、端口查看
sudo ss -tulpn
参数介绍:
-t, –tcp:查看所有 TCP 套接字
-u, –udp:查看所有 UDP 套接字
-l, –listening:查看所有监听套接字
-p, processes:查看哪些进程正在使用套接字
-n, –numeric:如果您想查看端口号而不是服务名称,请使用此选项
https://www.niuqi360.com/linux/how-to-check-for-open-ports-on-debian-10/
评论已关闭