• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2612
  • Last Modified:

Iphone - The connection to the server failed

We have problem where we cannot get a Iphone to connect to exchange. It worked ok fine until we moved our exchange server at the weekend to a new server farm. All ports as below are open and we even turned off the firewall to see if it connected. Can anyone help
1 Solution
I guess your Iphone uses IMAP protiocol to connect to Exchange. Try configuring a IMAP profile for the same user in Outlook express on a client machine and check
iPhone uses the Active sync feature
"connection to the server failed " that comes with outlook
normally if there is an issue in GALs if the Address list is not populated on the server, and if the user is not listed in GAL
u can try removing and adding the exchange attributes for that user

Are you sure that DNS is working correctly after the server was moved..?
How about the certificate? What certificate are you using..? Are certified authority or a self signed one...?
The iPhone is not a good tool for testing that you have conenctivity with exchaneg correctly...
Try https://www.testexchangeconnectivity.com/
which will tell you want really is going on... Post back the results here and we can take it from there...

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

support_futurerelianceAuthor Commented:
DNS is fine - and the certificate is the same as in use previously which is a self signed.
Result of testexchange below

 Attempting to Resolve the host name email.immediatefuture.co.uk in DNS.
 Host successfully Resolved
Additional Details
 IP(s) returned: 87.117.211.**

Testing TCP Port 443 on host email.problemserver.co.uk to ensure it is listening/open.
 The port was opened successfully.

Testing SSLCertificate for validity.
 The SSLCertificate failed one or more certificate validation checks.
 Tell me more about this issue and how to resolve it

Additional Details
 The SSL Certificate was issued by CN=email.problemserver.co.uk, CN=companyweb, CN=problemserver001, CN=localhost, CN=imm-server001.problemserver.local and is not trusted by Windows, if this is an internal CA and not trusted by our server, please check the box to ignore trust when performing the test (Note: this option is not available for the RPC/HTTP test).

Have managed to get an IMAP connection to work via Outlook Express, and having monitored the firewall logs, 443 is being replied to correctly.  Nothing has changed on the server since since the move and the IPhone will connect to other server accounts on a different domain.  Phone has also been hard reset, but the problem remains.
It seems to me that you are using a self signed SSL cert. iPhones dont like these very much..
I would recommend that you go and buy a certificate from goDaddy.com (no more than $40) and this should help to resolve this error..
support_futurerelianceAuthor Commented:
We have tested the phone on another exchange setup also using self signed cert and it works.  It also worked with the self signed cert until the server was moved so I dont think that necessarily is the answer.
You are right, Self signed certificates can work.. But.. in many cases I have seen them case trouble, the iPhone doest like certificate problems and just stops behaving..
@ $40 it, I think the price is worth it. Not only to hopefully fix this problem, but also to give your webmail users a nicer experience.
If you really don't want to go for it then the only other thing I could suggest is to use the Enterprise deployment toolkit to push the certificate to the iphone first...
support_futurerelianceAuthor Commented:
We have now installed a Go daddy ceriticate. and it works fine.

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now