I get an error message when I try to publish a hosted layer to portal using ArcMap. Portal and server are federated, I have specified a hosting server and I am an administrator. I have signed in and out of portal and even deleted and re-instated the portal connection in Administrator but I still can't publish. There are no logs on server or error code provided - the error is:
The hosted server behind the portal could not be accessed. Please check with your portal administrator or use another server for publishing
I recently updated the admin URL in ArcGIS server /sharing/rest and I can publish service definition files from the server - I just can't do it from ArcMap. I found a local cache in AppData\Local\ESRI\Local Caches\MapCacheV1 which has the old server name so this could be the problem. Can I just delete this cache file or is there another way to refresh it?
The server and portal logs do not reveal anything related to the attempt to publish (on the verbose setting).