main for 0 - port number