you cant learn to port scan you have to download or write a port scanner application.