Windows Vista File and Printer Sharing Ports
When you enable file and printer sharing in Windows Vista it automatically opens the ports needed to share files or printer in the Windows Vista firewall for you.
What if you’re not using the Windows Vista firewall or you’re using a hardware firewall like a router, firewall appliance, Linux firewall, or a Cisco PIX?
Below is a table that lists all the ports that need to be opened in Windows Vista to share files and printers. You can manually open these ports to enable file and printer sharing on your computer.
Rule Name:File and Printer Sharing (NB Name In)
Port:137
Protocol:UDP
Notes: Used for NetBIOS Name Resolution
Rule Name:File and Printer Sharing (NB Datagram In)
Port:138
Protocol:UDP
Notes:Used for enabling NetBIOS Datagram transmission and reception.
Rule Name:File and Printer Sharing (NB Session In)
Port:139
Protocol:TCP
Notes:Used for enabling NetBIOS session Service.
Rule Name:File and Printer Sharing (SMB In)
Port:445
Protocol:TCP
Notes: Used for enabling Server Message Block transmission and reception via Named Pipes.
Tags: Computer, firewall, Hardware, Network, printer sharing, TCP, UDP, windows vista









David on 28 Dec 2008 at 2:23 am #
My computer asks the following
description of service
name or ip adress of computer hosting this on your network
external port number
internal port number
what do i put for these?