We help IT Professionals succeed at work.

Exchange 2010 Outlook Anywhere setup

seworby asked
Last Modified: 2012-05-11
Environment: Exchange 2010 on Server 2008; ADDC; also running DNS
This server is doing all Exchange roles -- it's a single server. There is another DC in the form of an old Server 2003 box, but it has nothing to do with Exchange.

Certificate is GoDaddy and appears fine.

Internal domain is abc.local; "real" domain is xzy.co.uk. Server is reffered to as mail.xyz.co.uk on the outside world and server02.abc.local internally.

Port 443 (https) is mapped over on firewall from the RIPE IP to the internal IP. The firewall is a Cisco PIX.

OWA works fine to this server from the outside world as well as interally. Internally either to https://server02.abc.local/exchange or https://mail.xyz.co.uk/exchange and externally just to https://mail.xyz.co.uk/exchange of course.

DNS is set up internally for xzy.co.uk as well.

I have been through the "Outlook Anywhere" wizard on the server with BASIC authentication; and it appeared to complete correctly.

If I ping mail.xzy.co.uk internally I get responses from internal IP per DNS.
If I ping mail xzy.co.uk externally I get responses from correct RIPE IP per DNS.

IPv6 is deselected on the adapter settings of the single enabled network card on the server.

If I telnet to ports 6001, 6002 & 6004 internally it works and I get the correct response. The ports are blocked from the outside world, but I tested unblocking them and mapping across breifly and I got the same response -- but it didn't fix the issue so I closed them off again.

When I run the RPC over HTTP test at https://testexchangeconnectivity.com it all works until the point:

Attempting to ping RPC endpoint 6001 (Exchange Information Store) on server mail.xyz.co.uk.
  The attempt to ping the endpoint failed.
   Tell me more about this issue and how to resolve it
   Additional Details
  The RPC_S_SERVER_UNAVAILABLE error (0x6ba) was thrown by the RPC Runtime process.

Where do I go from here, please? (I have Exchange 2003 servers working fine, and it's supposed to be easy on 2010!!)

Many thanks in advance.
Watch Question

This problem has been solved!
(Unlock this solution with a 7-day Free Trial)


Dear Mark,

Many thanks for your response.
I can confirm that OWA is fine; and that Outlook Anywhere was enabled with the wizard.
Thanks for your confirmation re: 443 only being required on the firewall which was as I had expected.

I undertook the following steps mostly thanks to your link:

Where abc is the local server name; domain is the local domain name, and xyz.co.uk is the domain to the outside world:-

Added: abc abc.domain.local mail.xyz.co.uk
to the hosts file. Ping abc now gets replies from the server's RIPE IP rather than :::1.

This did not fix the problem, not in itself at least.

The following already existed in C:\Windows\System32\inetsrv\config\applicationHost.config

 <requestLimits maxAllowedContentLength="2147483648" />

so I did not make any changes.

ValidPorts key in HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\RpcProxy
read: abc:593;abc:49152-65535
which looked nothing like shreedhar's version in:
so I left it alone. But note this is Exchange 2010 not 2007...

But sort of per his suggestion I added: mail.xyz.co.uk:6001-6002;mail.xyz.co.uk:6004 to ValidPorts_AutoConfig_Exchange in the HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\RpcProxy registry key so it now reads:

To re-iterate the above, the mail.xyz.co.uk entries were originally *not* there.

The connectivity test then worked. But after a little while the entries were gone and it failed again!

I then went back and added them to the ValidPorts key in HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\RpcProxy instead even though it didn't really look like the right place to add them, and the tests then failed on port 6004:

Testing the Name Service Provider Interface (NSPI) on the Exchange Mailbox server.
  An error occurred while testing the NSPI RPC endpoint.
   Test Steps
   Attempting to ping RPC endpoint 6004 (NSPI Proxy Interface) on server mail.xyz.co.uk.
  The attempt to ping the endpoint failed.
   Tell me more about this issue and how to resolve it
   Additional Details
  The RPC_S_SERVER_UNAVAILABLE error (0x6ba) was thrown by the RPC Runtime process.

So I went back and added mail.xyz.co.uk:6001-6002;mail.xyz.co.uk:6004 back to ValidPorts_AutoConfig_Exchange in the HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\RpcProxy.

And, again per shreedhar's suggestion in:

I changed HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeServiceHost\RpcHttpConfigurator\PeriodicPollingMinutes to 0 to turn off the RpcHttpConfigurator.

It's now working and apparently isn't automatically being disabled by the RpcHttpConfigurator.

I will run full checks now and confirm back shortly.

This problem has been solved!
(Unlock this solution with a 7-day Free Trial)


The solution was as detailed & in the link provided by Mark, but not the direct suggestion of changing the requestLimits maxAllowedContentLength="2147483648" setting and running the iisreset.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions