pick up server url from port on the end of config.apiUrl