Fixed a bug with adding ports to urls.