The Setup:
We have 2 Servers. They are on different subnets, but can still communicate with each other.
The Issue:
Server 1 used to query Server 2's Services with a ServiceController.Status
call successfully, until our IT Staff tightened the firewall between the two subnets (we lost RDP access to Server 2 and ServiceController.Status
calls from Server 1 to Server 2 started to fail).
IT has relaxed the firewall a bit (so RDP to Server 2 now works), but our ServiceController.Status
calls still fail (The error is: Cannot open Service Control Manager on Computer).
The Question:
How does ServiceProcess.ServiceController
perform it's tasks? Does it use a special TCP Port when doing it's work?
I am suspecting that the firewall is preventing remote access to the Service Controller on Server 2, so I'd like to tell our IT staff what ports we need opened.
I've looked at the MSDN page, but I haven't been able to find out what I need.