Tianyi cloud services open ports

When applying today a trial Tianyi cloud server, run the program found that the use can not IP + port access, Tianyi cloud console ports have not developed ways to set.

Solution:

In addition to using the 80,8080,443 several special interface required for the record, the other port can only open on the firewall.

Add to

--zone-cmd = Firewall public --add-Port = 80 / TCP --permanent (--permanent permanent, this does not restart the failed parameter)


Reload

firewall-cmd --reload


View

firewall-cmd --zone= public --query-port=80/tcp


 
Details firewall Operation Command Reference: https: //www.cnblogs.com/moxiaoan/p/5683743.html

Guess you like

Origin www.cnblogs.com/xsbx/p/10929113.html