active-directorysingle-sign-onmetadataadfs

ADFS Metadata not accessible from outside


I set an ADFS server (Windows Server 2012 R2) for a SSO Portal. I have only one server, with ADFS and ADDS.

When I call https://localhost/FederationMetadata/2007-06/FederationMetadata.xml from the server I get the Metadata XML.

But when I try https://[IP ADDRESS]/FederationMetadata/2007-06/FederationMetadata.xml I get and error saying the address is not accessible.

Port 443 is accessible. I've used Powershell to check it:

Test-NetConnection -Port 443 -ComputerName [IP ADDRESS]

Tried all suggestions on StackOverflow and nothing helped.


Solution

  • Found the answer.

    I was trying to access metadata using the server IP Address. I've set a binding for HTTPS with IP address and it worked well.