pub fn validate_port(port: &u16) -> Result<(), ValidationError>
Validate a port number
Requirements:
Returns a validation error if the port is 0.