[fixes #55185308] Set port dynamically for default_url_options