I'm developing an ArcGIS Runtime WPF appliation that startup a LocalServer to publish some mpk created in ArcMap. During the LocalServer initialization I can see in the console that the LocalServer will be started listening in a port between 50000 and 60000, and with a random prefix to be included in the url:
'maxport' = '60000'
'minport' = '50000'
'urlprefix' = 'random'
So, for example, the url of the server could be: http://127.0.0.1:50000/27QB1W/arcgis/rest
Each time the application starts, and initializes the local server, the url prefix is changed.
is there any way to fix to a static values, the port number and the urlprefix?
Thanks in advance.