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 ~]$

Comments

Popular posts from this blog