473,800 Members | 2,379 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

1 New Member
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
Oct 20 '08 #1
2 29566
Nepomuk
3,112 Recognized Expert Specialist
You know what? Google is your friend! It finds things like this and this for you, which will answer your questions.

Greetings,
Nepomuk
Oct 21 '08 #2
odoggz
1 New Member
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

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

Similar topics

1
1680
by: Maurice LING | last post by:
Hi, I'm writing something that specifies the use of SOAP. One requirement that fumbles me is the port number(s) to use. Is there any way to find out which ports are not used by the system? I've looked in the library reference and doesn't seems to get anything. Is there a problem with say 2 programs using the same ports? Thanks in advance.
0
1461
by: Nate Hekman | last post by:
I've been trying to use WebClient to download a file from an ftp server, but kept getting this exception during the call to DownloadData: An existing connection was forcibly closed by the remote host. After much hair-pulling I finally figured out that if I disable Windows Firewall the error goes away. I imagine I should be able to add something to my Windows Firewall Exceptions list. FTP is already in the exceptions list (and works...
2
2967
by: Lars Netzel | last post by:
Hi How do i (in vb.net) get the information if the windows firewall is turned on or off? best regards /Lars
0
1280
by: anupamak | last post by:
Hello, I am developing an application in VC++.Net and windows xp using the setupapi, which has to work as windows service. Actually, in the beginning, my application was developed in VC++.Net, MFC with GUI. But now i am decoupling the GUI and want to make the application work as windows service. As a part of this, I have created my application using the windows service template. But when i embedded the files such as Dbt.h and my own...
2
6191
by: =?Utf-8?B?bTBh?= | last post by:
Hello! Could someone kindly show me how to use WINDOWS FIREWALL API in visual basic 6.0 Some snippets of code may help me with some basic documentation. Lets assume i want to block a port using the firewall api provided by windows, how would i do it using visual basic.
2
2292
by: kimster | last post by:
I was wondering if there is a way to detect if the Windows firewall is turned on for the machine in which the script is running? If so, is there a way to detect the firewall's settings? Thanks!
2
2366
by: snowman984 | last post by:
The problem is this, all of our laptops are running windows xp with the sp2 update. When the laptops were originally setup they were joined to our domain controller. Once joined, it seems, the windows firewall was automatically disabled, since then we have been unable to reactivate it. Is it possible to restore windows firewall when a PC is joined to a domain(without reformatting)?
1
1184
by: raaman rai | last post by:
Y cant i find windows firewall in my machine which is loaded with Win Server 2003 Standard Edition. Everybody discusses that we can find the firewall in the control pannel like in XP but it is not found in my machine. I need to access it to conifigure ports. Pls give me any necessary info!
2
1488
by: =?Utf-8?B?YnJpZ2Fkb29t?= | last post by:
windows firewall not working at all. i need to access windows firewall program but when i click icon in control panel box pops up stating "Due to an unidentified problem,windows cannot display windows firewall settings." thats it no explanation or hint as to what is wrong just that it doesnt work, so how do you fix it ????
0
9551
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10275
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10253
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10033
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9085
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5471
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2945
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.