I configured web application proxy on Windows Server 2012 and I noticed that when user makes request then gets exception:
HTTP Error 503. The service is unavailable.
On wap server in event viewer I found the below exception. I don't know why but ip specified inside exception is wrong - how is this resolved?
Unable to retrieve proxy configuration data from the Federation Service.
Trust Certificate Thumbprint: 81E6CF17894A85B134D12DBEDE0E07CDC2F57FD3
Exception details: System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond XXX.XXX.XXX.XXX:443 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.GetResponse() at Microsoft.IdentityServer.Management.Proxy.StsConfigurationProvider.GetStsProxyConfiguration()