Originally Posted by prakash0106
i need command for closing open port also open closed port
pls not use iptables......... i need only command like nmap(port listening)
, AFAICT, your question has already been answered. You open a port by making a process listen on it. You close a port by making sure nothing is listening on it. Nmap has nothing to do with any of this, other than it's a tool you can use to make sure the port in question appears as open or closed.