From a bash script how can I quickly find out whether a port 445 is open/listening on a server.
445
I have tried a couple of options, but I want something q
nmap is the right tool. Simply use nmap example.com -p 80
nmap
nmap example.com -p 80
You can use it from local or remote server. It also helps you identify if a firewall is blocking the access.