nmap -sT
=== Scan ports on subnet ===
nmap -sT
=== Scan for vulnerabilities ===
nmap --script vuln
=== Scan for specific port ===
nmap -sT -p
=== Remarks ===
If you want to check your public IP, you need to run nmap from a location outside of your LAN.