Windows ports for server access

What TCP ports are used by a client trying to access a file server to download files using a UNC name such as \\
I need to know so that I can configure a firewall appropriately.

Thanks in advance,

Roger AlcindorAsked:
Who is Participating?
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.

John GobertEnterprise Systems ConsultantCommented:
TCP 445
John GobertEnterprise Systems ConsultantCommented:
Just to be thorough in my answer I should mention that UDP 135-139 and TCP 135-139 are the legacy SMB ports in addition to TCP 445.  You should be able to just use TCP 445 though as there are security concerns with the legacy implementation.  I'd setup the firewall rules with just 445 to start and run a test.  If everything works like you expect then I'd avoid opening 135-139.

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
Roger AlcindorAuthor Commented:
Thanks guys.
I have configured the firewall using the Admin control Panel from 1 & 1 who have provided me with a  cloud server (Microsoft Server 2012). I still can't access the server using SMB from a windows 7 or Windows Xp machine using \\
I was using this successfully last week but over the weekend it stopped working. I can still remote desktop onto the server and 1 & 1 support tell me that they don't support server configuration so I'm a bit stuck at the moment. If I can't fix it I will probably post another question in a different EE section after referring to the links supplied.
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
Software Firewalls

From novice to tech pro — start learning today.