Show what services are running on what ports
To show what services are running on what ports:
netstat -tulpn