Login into server through SSH using a Terminal or Putty.Open the csf configuration file:/etc/csf/csf.conf and add the port number ,which you mean to open in server#
For Mysql, use localhost as server name and 3306 as port number.