Use port if specified.