What OS are you using? CentOS, FreeBSD, RHE? To see what ports open, you can run the following command:The commands which you gave me for SSH I checked them (both) but I couldn't see if the ports are blocked or not!
PORT STATE SERVICE 1/tcp open tcpmux 21/tcp open ftp 25/tcp open smtp 26/tcp open unknown 53/tcp open domain 80/tcp open http 110/tcp open pop3 111/tcp open rpcbind 143/tcp open imap 443/tcp open https 465/tcp open smtps 631/tcp open ipp 783/tcp open hp-alarm-mgr 953/tcp open rndc 993/tcp open imaps 995/tcp open pop3s 3306/tcp open mysql
How do you define "unused ports"? You can block and/or open a port using iptables command. Use this command at your own risk:can anyone tell me how to CLOSE unused ports??
|Thread starter||Similar threads||Forum||Replies||Date|
|Is there a WordPress outdated plugin, theme, and version checker?||Security||1|
|G||SOLVED MD5 checksum failed on some files. Validation required.||Security||2|
|N||Checking `bindshell'... INFECTED (PORTS: 465 45454)||Security||6|
|M||2checkout: outbounds ports like 8100 and 8082||Security||1|
|M||Checking open ports? (nmap?)||Security||1|