Please help me with a shell command to see a list of ports that are bound on my machine. Also, what is the command to unbind the port?
Thanks,
Bob
Please help me with a shell command to see a list of ports that are bound on my machine. Also, what is the command to unbind the port?
Thanks,
Bob
Hello,
To Scan All Ports
nmap -sT -sU -p 1-65535 localhost
use lsof to find what is the process running on that port.
lsof -i protoort
to unbind simply stop the service running on that port.
see chkconfig for more details.
or use firewall to close the port if at that is open for no use.
Hope this helps!!!!
Regards,
![]()
rh_linuxion
It is very simple to be Happy but it is very difficult to be Simple.