Connecting Outlook to an Exchange account hosted overseas

Posted on 2010-08-16
Last Modified: 2012-05-10

One of my clients has their main office in Malaysia and their server  (including Exchange server) is managed by a local IT company. They also have a small office in another countrty, with 2 users. I am trying to setup Microsoft Outlook for these 2 users, but cannot get it to connect or lookup the names.

Note, both users are just using Local accounts, they are not a part of any domain. Not that it should matter...?

I have all of the relevant details, Exchange server name, usernames, passwords, HTTP proxy connection address etc. But I still receive the error :

 "The name could not be resolved. The connection to Microsoft exchange server is unavailable. Outlook must be online or connected to complete this action"

Yet, both users can access webmail for the account just fine.

Am I missing a really obvious detail? I have setup Exchange account for many clients many times. I have had success setting up an account on both of these PC's with a local Exchange server (a different domain, just for testing purposes).

Question by:samfpt
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
  • 2
  • +1
LVL 24

Accepted Solution

B H earned 334 total points
ID: 33451765
can you run this test as the users:

anything useful come back there?

Author Comment

ID: 33451796

Bryon, great testing tool thank you. Results as follows:

 ExRCA is testing RPC/HTTP connectivity.
  The RPC/HTTP test failed.
   Test Steps
   Attempting to resolve the host name in DNS.
  Host successfully resolved
   Additional Details
  IP(s) returned:
 Testing TCP Port 443 on host to ensure it is 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 remote host
Exception details:
Message: No connection could be made because the target machine actively refused it
Type: System.Net.Sockets.SocketException
Stack trace:
at System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port)
at Microsoft.Exchange.Tools.ExRca.Tests.TcpPortTest.PerformTestReally()
LVL 24

Assisted Solution

by:B H
B H earned 334 total points
ID: 33451824
ok so they're not using secure SSL - try running the test again but tell it to not use or care about SSL
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!


Author Comment

ID: 33451846
There isn't an option to specifiy not using SSL.

But to clarify, I'm selecting the option 'Outlook Anywhere (RPC over HTTP) '

and specifying the server option manually.

Using the Autodiscover option also failed
LVL 24

Assisted Solution

by:B H
B H earned 334 total points
ID: 33451855
hmmmmm i wonder if that's the problem.... autodiscover

as a test, can you edit the client workstation like this:
start > run > notepad.exe (run as administrator if not xp)
file > open
(hosts is the file, no extension)

at the bottom add this like:
(that's a tab after the last zero)

save it

then do start > run > cmd
ipconfig /flushdns

try your outlook again.

sometimes outlook gets real freaky with autodiscover - this effectively neuters it

Author Comment

ID: 33451931

Unfortunately not. I followed those steps to the letter, but no different.

Any other thoughts?

I've had the same issue with a totally different client, Exchange server based local to me, client office in Malaysia (opposite to current issue) and have the same problem...

Surely there must be something missing here?

Expert Comment

ID: 33452172
Can you try with the IP address of the exchange server instead of the name

Author Comment

ID: 33460475
IP also doesn't work
LVL 24

Assisted Solution

by:B H
B H earned 334 total points
ID: 33460665
well you could always try starting outlook as:
start > run > "outlook /rpcdiag"  (no quotes)
and see if anything useful comes out


Assisted Solution

Joh_wel earned 166 total points
ID: 33463181
Hi samfpt,

Is the router or firewall at the client's site set up to forward all http and https traffic to the Exchange server?

Author Comment

ID: 33471240
Presumbably... we can access webmail perfectly....


Assisted Solution

Joh_wel earned 166 total points
ID: 33473383
Try to connect with VPN. I do so for my client, who also have to work remotely to Exchange. If you can connect to Outlook inside the client's office, I think there is no need to do anything further to Outlook, just set up VPN.

Author Closing Comment

ID: 33592798
In the end it was to do with the Security Certificates, they weren't installed in the correct directory, they needed to be in the 'Trusted Root Certification Authorities" directory.

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many people use more than one email account and so it becomes difficult for them to manage them when they use separate accounts,  so, in this article, I have shared an easy way to add Other Mail Accounts in your Google Inbox. It helps to combine all…
Changing a few Outlook Options can help keep you organized!
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question