centos port listening code example Example: centos open port # firewall-cmd --zone=public --add-port=55555/tcp --permanent success