Link to home
Start Free TrialLog in
Avatar of victor2008
victor2008Flag for United States of America

asked on

Need a command to show the firewall rules for port 3389

Is there a firewall command that can quickly show all rules for a port number?

Windows 8
Avatar of John
John
Flag of Canada image

Use netstat to see open ports. I think a port is just open or closed.

http://support.kaspersky.com/general/windows/101
SOLUTION
Avatar of LockDown32
LockDown32
Flag of United States of America 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 victor2008

ASKER

Thank you. I happen to know that the port is open but only open to a subset of IPs. I want to know if there is a way from a command prompt to see what the port is open to not whether it is open or closed?
DOS does not tell you firewall rules. You would need to open the Windows Firewall and check the properties.
Actually is is not a DOS prompt is is a command prompt. Big difference. To my knowledge no such command exists. There might be a PowerShell command but I am not really fluent enough in PowerShell to know. Perhaps if you lean the question opened long enough a PowerShell guru will chime in,

If you have Telnet on that computer you could telnet to it and see. Not what you asked but a work-around.
Yes it is a Command prompt. I used DOS out of habit.

And I noted, there is no Command prompt to do this.
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
ASKER CERTIFIED SOLUTION
Avatar of Qlemo
Qlemo
Flag of Germany 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