I get an Invalid redirect_uri error while trying to access ArcGIS Server using IP address. If I replace the ip address with server name: https://servername.loc:6443/arcgis/rest/services I don't have a problem accessing the services.
However, if I type: http(s)://1.1.11.111/arcgis/rest/services - it still populates the list of folders that are in the server but once I click on the folder it will give an Invalid redirect_uri error. See attached snapshot.
Obviously, the redirect link from the folder structure using ip address is not pointing the right direction but unsure, how to fix it. We have the server federated with portal and webadaptor.
Let me know please if someone came across similar error and was able to fix it. Thank you.
PS: We run ArcGIS Server 10.6.1