Perform the necessary steps for configuring ports if a firewall is enabled on the server.
To configure ports for operation of the application:
firewall-cmd --add-port=<port>/<protocol> --permanent
ufw allow <port>
apt-get install iptables-persistent
iptables -A INPUT -p <protocol> --dport <port> -j ACCEPT
firewall-cmd --reload
netfilter-persistent save
If you are using Ubuntu OS, the changes are applied automatically.
Ports will be configured for operation of the application.
Page top