Close unnecessary ports of server.

Unnecessary open ports can create problem for your server and such servers are more prone to get attack by hackers. Hackers always search for open ports on any server and if they manage to get one, they can get into your server and can do anything they want. Even they can prevent your access to your server. thus as precautionary measure you should check if by mistake you have kept any port open. Following commands will help you to get all details about your server.

First of all you need to check which services are running on your server, you can use :
chkconfig –list | grep on
Now you should disable certain services which you don’t want and can be harmful for you. Use chkconfig service name off.
You need to stop such unwanted services using following command : /etc/init.d/service stop
You can also close certain ports using iptables and firewall setting.

Posted under Fantastico Hosting, Reseller Hosting, WHM cpanel Hosting, cPanel account Hosting

This post was written by on November 28, 2008

Tags: , ,