windows firewall to allow communicate with certain servers

Hi All,

Is it possible to configure windows firewall to allow communication between certain servers?

If yes, please advise how.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ady FootSharePoint ConsultantCommented:
Hi there,

You can add exceptions to the Windows Firewall to enable communication with any server type - you just need to work out which ports are required by the application you wish to connect through the firewall.  You can usually find this information by googling the specific server application.

Details on how to specifically configure your firewall with Server 2003, please see the following guide:


fireburn11Author Commented:
Hi Afoot,

Is there a way to add all ports open between servers in my subnet?

netsh firewall add portopening protocol=tcp port=1-66354 name=DCOM_TCP135

it appears that i can't use the syntax " port=1-66354", i had to add the port one by one. this will just take too much time....

Ady FootSharePoint ConsultantCommented:
Well that syntax would just effectively disable the firewall (if it worked). Windows Server 2008 would allow you to turn the firewall off between domain computers but enable it for protection from Internet traffic, but not the 2003 edition.

If you have a hardware firewall protecting your network from the Internet, I wouldn't be too worried about enabling the Windows Firewall anyway - many secure networks leave it disabled.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.