Fixed problem with port being in incorrect place in server uris