coerce port to string