Checking for open ports

Sometimes you can't access a website, or remote service and want to check whether it's a network problem or something at the server end. Nmap is the most common way of doing that and is usually one of the first things installed in Linux. If not…