How to open ports on Linux Dedicated Servers.
**** Use coupon whukharry to avail a great discount of 10% on every order you placed at http://www.webhosting.uk.com/
Usually we have to open certain port if we want to use it for running some required application through it. You can follow below mentioned steps for opening any required post which you can use : –
If you are using CSF firewall then login to Dedicated Server 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, Using telnet command ( telnet IP port number ) you can verify if that particular port is opened or not….


















