Scan port range nmap

Scan ports in a given range

nmap -p 1-1024 192.168.1.1