Differences

This shows you the differences between two versions of the page.

Link to this comparison view

change_port_centos [2016/01/24 22:06]
imcsk8 created
change_port_centos [2016/01/24 22:06] (current)
imcsk8
Line 22: Line 22:
 Open the port to the outside world: Open the port to the outside world:
 <​code>​ <​code>​
-[root@localhost ~]# firewall-cmd --zone=public --add-port=65535/tcp --permanent+[root@localhost ~]# firewall-cmd --zone=public --add-port=12345/tcp --permanent
 [root@localhost ~]# firewall-cmd --reload [root@localhost ~]# firewall-cmd --reload
 </​code>​ </​code>​