Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Windows7 firewall-how to figure out what ports to open

09 May 2009   #1

windows 7
Windows7 firewall-how to figure out what ports to open

So I have started to use windows7 RC and it's build in firewall. Until now i was on win xp with eset firewall. Everything is ok so far except two things:

1.) There doesn't seem to be anything like learning mode for win7 firewall, or is there? How em I supposed to make a rule for application if I don't know what port it needs to open? I know, one can use google, but this can get pretty anoying after a while. Log file also doesn't help much because it doesn't list application names. Is there some kind of 3rd party simple app which would monitor attepts for connection and tell me which port a specific application just tried to use so i could make a rule in windows firewall?

2.) It seems that win7 firewall is creating inbound rules automatically (at least for local applications), can i turn this behavior off?


My System SpecsSystem Spec

09 May 2009   #2
Microsoft MVP

Windows 7 Ultimate 32bit SP1

Download the "Free" version of Vista Firewall control ... it works with Win7
Vista Firewall Control : Sphinx Software
My System SpecsSystem Spec
09 May 2009   #3

windows 7

Tried that and seems to only make it easier to create rules. Also it automatically enabled some windows default rules that i have disabled (for windows media player).

Just to make it clear, I like the way win7 fw is controlled, I think I understand most of the fw stuff, I just need a simple way how to figure out which port a specific application want's to use and also how to disable automatic rule creation (so far i have noticed this behavior on inbound rules only).
My System SpecsSystem Spec

11 May 2009   #4

windows 7

Hello, any more ideas?
My System SpecsSystem Spec
11 May 2009   #5

Linux CENTOS 7 / various Windows OS'es and servers

Quote   Quote: Originally Posted by ulukai View Post
Hello, any more ideas?
Try looking at the Port Forwarding utility in your Router -- this will often suggest ports to open - especially if you can control your router via a web (browser) interface rather than a command line. The utility might have a help function in it.

Generally if you need some sort of Http server then 80 and 8080 should be open, otherwise open ports for SSH, FTP, RDP if you use these functions (and if you have a mail server then SMTP port).

If you understand "Tunnelling" you can make your system more secure by choosing any port you like and "Tunnel" it to the "Real port" you need

This method is often used for example if you want to log on to a Home computer and the work place blocks the outgoing RDP Port. You use a standard port which IS open (normally SSH or HTTP are open) and tunnel those to your network.

There's documentation here

PuTTY Download Page

Here's how to bypass work Firewalls with Putty-- this is slightly old but the principle is the same.

Using PuTTY (and SSH) to Bypass Firewalls

My System SpecsSystem Spec

 Windows7 firewall-how to figure out what ports to open

Thread Tools

Similar help and support threads
Thread Forum
Switching off Windows 7 Firewall blocks all ports ?
Hi. I'm quite new around here and would like to say hi to everybody. I have a question to ask. If I were to stop the Windows 7 Firewall Service by right-click on Windows 7 Firewall and Select stop option, the firewall will be switched off. In this condition, does Windows 7 block all...
System Security
Unable to open ports in Windows 7 Firewall
I am trying to set up a minecraft server on my PC. It is connected wirelessly to a broadband router, and I have set up port-forwarding on the router. I am testing using Shields Up to scan the relevant port, 25565, while the server is running, and if I turn off the PC firewall, it successfully...
Network & Sharing
Norton Internet Security NIS 2014. Firewall ports open. Dangerous?
Hi All, I'm running NIS (latest version) on my fully patched Win7 Pro laptop. I connect to the internet using a 3G cellular modem (Reliance in India). The 3G modem is connected to a Hame external 3G WiFi HotSpot Router (3GWHR). The 3GWHR broadcasts a WiFi signal and that's how my...
System Security
Laptop USB ports acting strangely, can't figure out why
I was just browsing the net with the usual plugged into my laptop (external in the lefthand port, keyboard and mouse in the righthand ports) when suddenly my keyboard and mouse just stopped working. The external on the left is fine and is still functioning as I type this. The mouse didn't show...
Hardware & Devices
Opening Firewall Ports (Selected By Their Port Number)
Hello, Trying to use a program that communicates with, and controls, a radio via a 232 cable. Apparently there are a number of Ports that must be open for it to work. I have looked at all the Firewall screens, and the Advanced Firewall screens, their Rules etc., but cannot find any place...
Network & Sharing
Windows 7 firewall - allow alternate ports for RDP
Hi all, I'm looking for help configuring Windows 7 (RTM) firewall to allow traffic for an alternate Remote Desktop listening port in the most secure way possible. I know how to just open up the port completely, which works, but I'd rather not do that if I can just open it up for the Remote...
System Security

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 15:15.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App