Check if port is integer