Autodiscover issue- No connection could be made because the target machine actively refused it

Found the following errors by Running Exchange Connectivity Analyzer
Auto discover test failed for on-premise user  test.365@domain.com
Here is the results:

Please let me know what could be most likely the issue here and how should we tested further
Checking the IIS configuration for client certificate authentication.
      Client certificate authentication wasn't detected.
             Additional Details
      Accept/Require Client Certificates isn't configured.

       Attempting to send an Autodiscover POST request to potential Autodiscover URLs.
      Autodiscover settings weren't obtained when the Autodiscover POST request was sent.
             Test Steps
             ExRCA is attempting to retrieve an XML Autodiscover response from URL https://domain.Com/AutoDiscover/AutoDiscover.xml for user Test.365@domain.com
      ExRCA failed to obtain an Autodiscover XML response.
             Additional Details
      A redirect response was received, but only HTTPS redirect URLs are supported in response to a POST request. The URL that was received was http://www.domain.com/AutoDiscover/AutoDiscover.xml.



Attempting to send an Autodiscover POST request to potential Autodiscover URLs.
      Autodiscover settings weren't obtained when the Autodiscover POST request was sent.
             Test Steps
             ExRCA is attempting to retrieve an XML Autodiscover response from URL https://autodiscover.domain.Com/AutoDiscover/AutoDiscover.xml for user Test.365@domain.Com.
      ExRCA failed to obtain an Autodiscover XML response.
             Additional Details
      An HTTP 401 Unauthorized response was received from the remote Unknown server. This is usually the result of an incorrect username or password. If you are attempting to log onto an Office 365 service, ensure you are using your full User Principal Name (UPN).





       Attempting to contact the Autodiscover service using the HTTP redirect method.
      The attempt to contact Autodiscover using the HTTP Redirect method failed.
             Test Steps
             Attempting to resolve the host name autodiscover.domain.Com in DNS.
      The host name resolved successfully.
             Additional Details
      IP addresses returned: 63.110.226.242, 199.85.76.131

       Testing TCP port 80 on host autodiscover.domain.Com to ensure it's listening and open.
      The specified port is either blocked, not listening, or not producing the expected response.
       Tell me more about this issue and how to resolve it

             Additional Details
      A network error occurred while communicating with the remote host.



       Attempting to contact the Autodiscover service using the DNS SRV redirect method.
      ExRCA failed to contact the Autodiscover service using the DNS SRV redirect method.
             Test Steps
             Attempting to locate SRV record _autodiscover._tcp.domain.Com in DNS.
      The Autodiscover SRV record wasn't found in DNS.
       Tell me more about this issue and how to resolve it




Error when running test-webservicesconnectivity
Error contacting https://webmailold.domain/ews/exchange.asmx
No connection could be made because the target machine actively refused it 10.100.70.40:443.
When connecting to https://webmailold.domain/ews/exchange.asmx received the error unable to conenct the remote server

Notes:
1)      Could be issue with the Cert. Need to verify that certificate is configured properly.
2)      Internal and external names are set for all the services correctly would be the first question. (this looks good though)
3)      IIS also sometimes screws up a cert you could remove the cert then re-add it manually to get around this
claudiamcseAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DLeaverCommented:
A couple of things stand out

1) Are you running a self signed SSL certificate or have you purchased a a UC SAN cert from a third party provider?
2) You don't appear to have an SRV record in your external DNS for autodiscover, you need to set this up
3) Have you forwarded port 443 through to the Exchange server on your router as it appears to be blocked

An excellent reference document discussing all things Autodiscover

http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_9089-See-through-Autodiscover.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.