Link to home
Start Free TrialLog in
Avatar of PramoIT
PramoITFlag for Netherlands

asked on

Outlook anywhere and RPC ports

Hi,

I'm having problems connecting to my exchange server with outlook anywhere.

Here's the report from https://www.testexchangeconnectivity.com

Testing RPC/HTTP connectivity
  RPC/HTTP test failed
   Test Steps
   Attempting to resolve the host name exchange.pramo.nl in DNS.
  Host successfully resolved
   Additional Details
  IP(s) returned: 195.240.10.66  
 
 Testing TCP Port 443 on host exchange.pramo.nl to ensure it is listening and open.
  The port was opened successfully.
 Testing SSL Certificate for validity.
  The certificate passed all validation requirements.
   Test Steps
   Validating certificate name
  Successfully validated the certificate name
   Additional Details
  Found hostname exchange.pramo.nl in Certificate Subject Common name  
 
 Validating certificate trust
  Certificate is trusted and all certificates are present in chain
   Additional Details
  The Certificate chain has be validated up to a trusted root. Root = CN=UTN-USERFirst-Hardware, OU=http://www.usertrust.com, O=The USERTRUST Network, L=Salt Lake City, S=UT, C=US  
 
 Testing certificate date to ensure validity
  Date Validation passed. The certificate is not expired.
   Additional Details
  Certificate is valid: NotBefore = 2/24/2010 12:00:00 AM, NotAfter = 5/25/2010 11:59:59 PM"  
 
 
 
 Testing Http Authentication Methods for URL https://exchange.pramo.nl/rpc/rpcproxy.dll 
  Http Authentication Methods are correct
   Additional Details
  Found all expected authentication methods and no disallowed methods. Methods Found: Basic  
 
 Testing SSL mutual authentication with RPC Proxy server
  Successfully verified Mutual Authentication
   Additional Details
  Certificate common name exchange.pramo.nl matches msstd:exchange.pramo.nl  
 
 Attempting to Ping RPC Proxy exchange.pramo.nl
  Pinged RPC Proxy successfully
   Additional Details
  Completed with HTTP status 200 - OK  
 
 Attempting to ping RPC Endpoint 6001 (Exchange Information Store) on server pmdc-01.pramo.local
  Failed to ping Endpoint
   Additional Details
  An RPC Error was thrown by the RPC Runtime. Error 1818 1818  

All is OK, except for the ping to the RPC endpoint on port 6001.

And here's the result of netstat -ano
  TCP    0.0.0.0:6001           0.0.0.0:0              LISTENING       236
  TCP    0.0.0.0:6002           0.0.0.0:0              LISTENING       576
  TCP    0.0.0.0:6004           0.0.0.0:0              LISTENING       624

  TCP    127.0.0.1:53           0.0.0.0:0              LISTENING       1816
  TCP    127.0.0.1:5679         0.0.0.0:0              LISTENING       4488
  TCP    127.0.0.1:7438         0.0.0.0:0              LISTENING       4488
  TCP    127.0.0.1:35651        127.0.0.1:8999         TIME_WAIT       0
  TCP    192.168.2.5:53         0.0.0.0:0              LISTENING       1816
  TCP    192.168.2.5:139        0.0.0.0:0              LISTENING       4
  TCP    192.168.2.5:139        192.168.2.11:1746      ESTABLISHED     4
  TCP    192.168.2.5:59925      0.0.0.0:0              LISTENING       2228

  TCP    [::]:6001              [::]:0                 LISTENING       236
  TCP    [::]:6002              [::]:0                 LISTENING       576
  TCP    [::]:6004              [::]:0                 LISTENING       624

PID 236 = Store.exe
PID 576 = MAD.exe
PID 624 = Isass.exe

Does this mean that store.exe is not lisstening to port 6001? Because I don't see a line containing:
  TCP    192.168.2.5:6001           0.0.0.0:0              LISTENING       236

If so, ho do I get store.exe listening on port 6001?

The server with ip address 192.168.2.5 is a DC, IIS and Exchange server (all in one)

Thanks in advance.

Regards,

Pramo
Avatar of PramoIT
PramoIT
Flag of Netherlands image

ASKER

Netstat result is not complete, I have only included wich I think are relevant.
Avatar of Shreedhar Ette
Hi,

Have you telnet to port 6001, 6002 and 6004 and get the response?

Refer this article:
http://msexchangeteam.com/archive/2008/06/20/449053.aspx

I hope this helps,
Shree
Avatar of PramoIT

ASKER

SatyaPathak,

Thanks, but I already done that.

Can you tell me (based on the netstat result) if my store.exe is listening to port 6001?
Avatar of PramoIT

ASKER

Hi Shreedhar,

When I use this command:

rpcping -t ncacn_http -o RpcProxy=exchange.pramo.nl -P "[user],pramo.local,[password]" -H 1 -F 3 -a connect -u 9 -v 3 -s pmdc-01.pramo.local -I " [user],pramo.local,[password] " -e 6001

The command promtpt seems to hang and I dont get any response.

It stays this way:

C:\Windows\system32>rpcping -t ncacn_http -o RpcProxy=exchange.pramo.nl -P "[user],pramo.local,[password]" -H 1 -F 3 -a connect -u 9 -v 3 -s pmdc-01.pramo.local -I " [user],pramo.local,[password] " -e 6001
RPCPing v6.0. Copyright (C) Microsoft Corporation, 2002-2006
_
I suspect the port is not open on the firewall.

----------
Shree
Avatar of PramoIT

ASKER

Shree,

I had allready disabled the firewall.
Avatar of PramoIT

ASKER

Hi,

And it is an all in one system (server2008 DC, IIS, Exchange)

If anyone can help, i'll really appreciate it.

Regards.
Avatar of PramoIT

ASKER

From a remote client (outside network) I get this result

C:\Users\mbelali>rpcping -t ncacn_http -s pmdc-01.pramo.local -o RpcProxy=exchan
ge.pramo.nl -P "[user],pramo.local,*" -I "[user],pramo.local,*" -H 1 -F 3 -a c
onnect -u 10 -v 1 -e 6004
Enter password for server:

 Enter password for RPC/HTTP proxy:

 Exception 1722 (0x000006BA)
 Number of records is: 2
 ProcessID is 4368
 System Time is: 2/25/2010 15:2:1:972
 Generating component is 13
 Status is 0x6BA, 1722
 Detection location is 1352
 Flags is 0
 NumberOfParameters is 1
 Long val: 0xc002100a
 ProcessID is 4368
 System Time is: 2/25/2010 15:2:1:972
 Generating component is 14
 Status is 0xC002100A, -1073606646
 Detection location is 1380
 Flags is 0
 NumberOfParameters is 2
 Long val: 0x2efd
 Unicode string: /rpc/rpcproxy.dll?pmdc-01.pramo.local:6004

When I try to do the same for port 6001 and 6002, nothing happens (at least for 10 minutes) after typing in the passwords.

Thanks in advance.

Regards
ASKER CERTIFIED SOLUTION
Avatar of Shreedhar Ette
Shreedhar Ette
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of PramoIT

ASKER

Shree,

This could be the solutions, but this registry setting gets overridden (each 15 minutes). What can I do to if I want to make it static.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of PramoIT

ASKER

Shree,

That didn't help. But I got it working now. This was the solutions:

The following was missing in C:\Windows\System32\inetsrv\config\applicationHost.config

<requestFiltering>
 <requestLimits maxAllowedContentLength="2147483648" />
</requestFiltering>

But you surely got me in the right direction.

Thanks!