how to close port which is not necessary?
I have found some opened port with nmap, I have closed the tcp port 25 and 111 by stop the sendmail and rpcbind service. the problem now is how to close the 631 port , the port was detected as ipp (internet printint protocol) by nmap .
|
631 is the CUPS server.
Either you can disable/uninstall CUPS, but you also disable printing. Or you can HTTP to localhost:631 and configure CUPS such that it doesn't allow connections from localhost. Or you can install iptables and deny all connections as a policy and then open only the ports you need specifying which hosts are allowed to connect etc. jlinkels |
Quote:
|
Try chkconfig http://linux.die.net/man/8/chkconfig
|
thanks chrism's help
|
All times are GMT -5. The time now is 02:34 AM. |