Open a port with ufw
ufw allow port | open port 443 ufw | ufw allow tcp port | ufw | firewall | portCaution: This command changes the system. Understand what it does before you run it.
ufw allow 443/tcpCreates a rule that allows incoming connections on the given port, for IPv4 and IPv6 at the same time. The rule is active immediately and persists after a reboot. Without /tcp or /udp, the rule applies to both protocols.
Note: On Plesk servers, do not use ufw alongside the Plesk firewall extension. Both write to the same netfilter tables and can overwrite each other.
Also searched as
- ufw allow port
- open port 443 ufw
- ufw allow tcp port