A very stupid question about open ports

Hi,

First, sorry for my stupid question here A very stupid question about open ports

I learn that all open ports are vulnerable to be attacked by hackers. However, some ports (e.g. HTTP, FTP and MAIL, etc) of server must be opened for incoming service. How can we prevent the hackers from attacking this ports.

Thanks and best regards

 

 

 

 

Top