Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 752
  • Last Modified:

Exchange 2003 RPC over HTTP Disconnection- ValidPorts entries disappear

Hello,

I have setup Exchange 2003 for RPC over HTTPS. It connects fine and stays connected for a while, then it will disconnect and not reconnect. When I look on the proxy server, the "ValidPorts" in the register is cleared. I re-enter the setting in the register, then Outlook can connect. Then the disconnection starts all over again.

This happens periodically. I don't see anything in the logs at all.

Anyone have an idea?

Thanks in advanced,
Tareef
0
TareefA
Asked:
TareefA
  • 4
  • 3
1 Solution
 
SembeeCommented:
More info please?

Single Server or frontend / backend.

Service Pack for Exchange installed?

Is the certificate a homegrown or purchased?

What have you put in the valid ports section?

Simon.
0
 
TareefAAuthor Commented:
Simon,

- It is in a Front-end/Back-end topology
- SP1 on both the Front and Back-end server
- The certificate is self-created, but the Cert Server is on the Public net

This is what we have in the ValidPorts section:

server-fe:100-5000;
server-be:6001-6002;
server-be.domain.com:6001-6002;
server-dc:6001-6002;
server-dc.domain.com:6001-6002;
server-be:6004;
server-be.domain.com:6004;
server-dc:6004;
server-dc.domain.com:6004;
mail.external.com:6001-6002;
mail.external.com:6004;
server-dc:593;
server-dc.domain.com:593;
server-be:593;
server-be.domain.com:593;
mail.external.com:593;

Thanks,
Tareef
0
 
SembeeCommented:
Those settings do seem very familar... :-)

Has the certificate been added to the client machine? So many of the problems with this technology are down to the certificate and getting a purchased certificate fixes them.

This may not be the cause here. I should have this before - what is between the Exchange frontend server and the Internet? A firewall of some kind?
This sounds like the port is being closed and not reopened.

What happens if you run Outlook like this after it has been disconnected:

outlook /rpcdiag

This will show you where the problem is.

Simon.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
TareefAAuthor Commented:
Simon,

Yes, I added the cert to the client. I don't think it is the cert because as soon as I add the ValidPorts entries again, the client can connect fine.  For some reason the ValidPorts key keeps getting cleared.

When I run outlook /rpcdiag, it just says disconnected when the entries are missing.

 Any idea why the ValidPorts reg key keeps getting cleared?

Thanks,
Tareef
0
 
SembeeCommented:
I haven't seen the registry settings being cleared myself, but there have been some reports of this. I am trying to provoke a test system in to doing it so that I can track down the problem but it is proving ellusive.

Have you attempted to configure RPC/HTTP using EMS as well as the manual (registry) method? I suspect that this is the cause. It could be one of those "do it one way or the other but not both" issues.

Simon.
0
 
TareefAAuthor Commented:
Do you mean setting the RPC over HTTP front-end option on my Front-end Exchange server? Yes, I set it as a 'RPC over HTTP' front-end. But I see what you are saying. I will remove it in EMS and monitor it.

Tareef
0
 
TareefAAuthor Commented:
Simon,

I think removing the RPC setting out of ESM and just using the registry did it. I haven't had a disconnect since yesterday.

Thanks for your assistance.

Tareef
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

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