471,066 Members | 936 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,066 software developers and data experts.

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

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..

Buddhika Priyadarshana
Oct 20 '08 #1
2 29263
3,112 Expert 2GB
You know what? Google is your friend! It finds things like this and this for you, which will answer your questions.

Oct 21 '08 #2
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.
Nov 4 '09 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Maurice LING | last post: by
reply views Thread by Nate Hekman | last post: by
2 posts views Thread by =?Utf-8?B?bTBh?= | last post: by
1 post views Thread by raaman rai | last post: by
2 posts views Thread by =?Utf-8?B?YnJpZ2Fkb29t?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.