How to open port on centos 8
[user1@centos-server ~]$ sudo firewall-cmd --zone=public --permanent --add-port 3306/tcp
[sudo] password for user1:
success
[user1@centos-server ~]$ sudo firewall-cmd --reload
success
[user1@centos-server ~]$
[user1@centos-server ~]$ sudo firewall-cmd --zone=public --permanent --add-port 3306/tcp
[sudo] password for user1:
success
[user1@centos-server ~]$ sudo firewall-cmd --reload
success
[user1@centos-server ~]$
Comments
Post a Comment