Connecting Tech Pros Worldwide Help | Site Map

which ports should be opened to work with WMI thorugh windows firewall?

Newbie
 
Join Date: Oct 2008
Posts: 1
#1: Oct 20 '08
Hi,
I am going to make WMI connection to a remote computer. here, i want to know which ports should be opened in windows firewall (Windows server 2008) to do that.
I tested with two machines by opening two ports (rather than creating rules). For a successful WMI connection, I had to open following ports.

First machine: TCP 135, TCP 49154
Second machine: TCP 135, TCP 1027

1. That means for incoming WMI connections, Does it use 135 and randomly allocated another one port?

2. If yes, is there any algorithm to find that random port ?

If anyone has some idea, pls reply..

Thanks
Buddhika Priyadarshana
Nepomuk's Avatar
Moderator
 
Join Date: Aug 2007
Location: Germany
Posts: 2,466
#2: Oct 21 '08

re: which ports should be opened to work with WMI thorugh windows firewall?


You know what? Google is your friend! It finds things like this and this for you, which will answer your questions.

Greetings,
Nepomuk
Newbie
 
Join Date: Nov 2009
Posts: 1
#3: 2 Weeks Ago

re: which ports should be opened to work with WMI thorugh windows firewall?


WMI, although people tell you to open the DCOM port (135), you have to understand that the modern tools need TCP HIGH PORT open for WMI. That's all ports above 1024. So you must put that range in to be successful in most installs.
Reply