We help IT Professionals succeed at work.

iphone connection to the server failed - sbs 2003

17,217 Views
Last Modified: 2011-06-01
Hi

We have a sbs 2003 server with OMA enabled. OMA is working. The use can login into OMA from any domain computer and see his email. Port 25, 80 and 443 is enabled on the (Cisco 800) router firewall. (ISA is not enabled on the server). When we try connect with the iPhone it gives the error  "connection to the server failed".

We have deleted and re-created the iPhone account settings.

To access OMA from any Internet connection. We use: https://www.companydomainname.com/oma

My iPhone settings are configured as follows:

Correct email address:
domain: companydoman (not companydomain.local)
Username: username onyl (not email address)
pass: password
server name: www.mycompanydomain.com/oma

Please advise why we are unable to conenct with the "connection to server failed" error
SSL is selected under I-phone account settings.

Thanks
Regards
Quintin
Comment
Watch Question

Have you configured ActiveSync on your Server.  iPhone uses ActiveSync to connect to Exchange 2003

Also you need to make sure RPC/HTTPS is enabled for ActiveSync to work.
http://www.microsoft.com/windowsmobile/en-us/help/synchronize/activesync45.mspx
http://www.msexchange.org/tutorials/Exchange-2003-Mobile-Messaging-Part1-Microsoft-DirectPush-technology.html
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Commented:
Make sure you have exchange sp2 installed

Author

Commented:
Resovled! We configured Iphone to choose (other) as mail account setup instead of Exchange account setup. We also choose mail.companydomain.com as the mail server address with SSL enabled. This seem to have worked for us. Thanks for all your help.

Commented:
Just revisiting this

server name: www.mycompanydomain.com/oma

That should be the DNS of your exchange server.  The /oma part is probably what makes that fail.

Author

Commented:
No. I just used mail.mycompanydomain.com for the server name.
Important to have ports: 443,193 and 993 open.
Make sure to setup an OTHER mail accoint on the iphone not and not EXCHANGE account.
I couldn't get the exchange account to work with my server for some reason with ot without SSL.
 
This is not a solution to an ActiveSync issue.  Because the author has 993 open to his server, the iPhone is making an IMAP connection when selecting the "other" type account.  iPhones will try this type of connection first when using the "other" account type.
Scott KunauSr. Consultant/Managing Partner

Commented:
I realize this is closed but I fixed my ActiveSync problem tonight by confirming that the Security on my AD user had the check box for Inherited Permissions checked (found after clicking the Advanced button on the Security tab).  Before it was checked, I received the "failure to connect to server" each time I attempted to retrieve mail.  Each of our users who have reported ActiveSync problems have been found to not have this box checked.  As soon as we checked that box and waited for AD to sync the change (about 5 minutes), their problems with getting mail were solved.

Scott
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.