Normally we have to open certain port if we want to use it for running some required application through it. The mentioned below steps can help you to do so : –
If you are using CSF firewall then login to your dedicated server website hosting as root and just locate csf.conf file which you will have to edit for the enabling required port to open.
For CSF Firewall , the config is located at : /etc/csf/csf.conf
If you are using APF firewall then the config is located at : /etc/apf/conf.apf Where you need to specify the required port number which you want to keep open for some particular application.
Once done make sure you restart firewall after editing above config files.
For CSF: /etc/init.d/csf restart / csf –r
and for APF: /etc/init.d/apf restart / apf –r
That’s all you have successfully opened required port of your dedicated server website hosting. By using telnet command ( telnet IP port number ) you can verify if that particular port is opened or not.
Posted under website hosting
This post was written by admin on April 10, 2010






















