开启端口/开启防火墙


5个月前 210次点击 来自 Linux

1. 测试远程主机的端口是否开启

telnet {ip} 80

2. 查看本地的端口并开启80端口

ufw status
ufw allow 80
ufw enable
ufw reload

3. 查看端口信息

iptables -nL

Made with in Shangrao,China By Devler.

Copyright © Devler 2012 - 2022

赣ICP备19009883号-1

Top ↑