It often happens that you need to quickly scan a large number of hosts on a specific open port or ports. Nmap is, of course, a good tool and gives a lot of information, but it works rather slowly on large ranges of addresses and ports. Therefore, we have to look for a faster alternative for port scanning. One of these alternatives is Masscan. It allows very fast port scanning.
apt-get install masscan