ufw allow 11963/tcp
ufw reload
ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip
To Action From
-- ------ ----
11963/tcp ALLOW IN Anywhere
11963/tcp (v6) ALLOW IN Anywhere (v6)
root@something# sudo netstat -plnt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 3115/systemd-resolv
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 885/sshd: /usr/sbin
tcp 0 0 127.0.0.1:12798 0.0.0.0:* LISTEN 299986/cardano-node
tcp 0 0 127.0.0.1:12788 0.0.0.0:* LISTEN 299986/cardano-node
tcp6 0 0 :::22 :::* LISTEN 885/sshd: /usr/sbin而且它不存在,如果我尝试一个像https://www.yougetsignal.com/tools/open-ports/或http://port.ping.pe/这样的网站,请帮助我理解。
发布于 2020-07-29 22:59:09
您已经使用了UFW来允许端口侦听,但是还没有启动侦听端口,如果您还没有安装netcat,请尝试:
nc -l 11963https://askubuntu.com/questions/1263112
复制相似问题