nmap -Pn <domain name> or nmap -Pn <ip address>

Eg: nmap -Pn www.google.com

The above command can help to find all the open ports in a domain or for an ip address. This is very useful to troubleshoot connection issues.