Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1845
  • Last Modified:

Windows File Sharing Ports

Anyone know which ports are used by Windows for file sharing?  I am trying to connect to my home machine from work and have to go through a firewall, so must open the correct port(s).  For example, I would like to be able to connect to \\maymachine\c$ from work.

Also, anyone know where I can find a listing of all the reserved ports used by Windows.
0
Harley12
Asked:
Harley12
  • 2
1 Solution
 
ijg0Commented:
The port numbers depend on the version of windows you are using. You will need to enable the following ports for all versions of windows:

137 - (UDP) NetBios name service
138 - (UDP) NetBios datagram
139 - (TCP) Netbios port for windows file and printer sharing

In windows 2000 a new transport was added over port 445 so you will have to enabl eport 445 as well as the others above.

I don't know of a good list of ports specifically for windows only but a general list of all ports can be found at http://www.iana.org/assignments/port-numbers

Hope this helps
0
 
ijg0Commented:
The port numbers depend on the version of windows you are using. You will need to enable the following ports for all versions of windows:

137 - (UDP) NetBios name service
138 - (UDP) NetBios datagram
139 - (TCP) Netbios port for windows file and printer sharing

In windows 2000 a new transport was added over port 445 so you will have to enabl eport 445 as well as the others above.

I don't know of a good list of ports specifically for windows only but a general list of all ports can be found at http://www.iana.org/assignments/port-numbers

Hope this helps
0
 
Harley12Author Commented:
Thats what I needed. Thanks for your help.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now