nmap is a fantastic tool, but it doesn't always give you the name of the service that's running, in cases where you find a random port number that's open you might want to check
wikipedia's list of port numbers to find out the service that's running on that port.