Home All Groups Group Topic Archive Search About

Which firewall ports should be open for accessing a shared printer on another LAN computer?

Author
27 Jul 2006 9:36 AM
Peter Eisenman
On computer A in an inhouse-LAN I installed successfully a printer. I allowed sharing for this printer.
On computer B in the same LAN (Workgroup / NOT Domain) I want to access the printer
on the neighbor computer A.

Unfortuantely I (resp. others) setup personal firewalls and entered a couple of firewall rules.
They seem to restrictive because comp B cannot see printer on comp A through browsing.

Which ports do I have to open to enable printer sharing ?

Peter

Author
27 Jul 2006 10:32 AM
Andrei Ungureanu [MVP]
TCP 139
TCP 445
UDP 137
UDP 138

--
Regards,
Andrei Ungureanu
www.eventid.net
Test our new EventReader!
http://www.altairtech.ca/eventreader/default2.asp?ref=au

Show quoteHide quote
"Peter Eisenman" <psall***@landsend.com> wrote in message
news:44c8891c$0$24904$9b4e6d93@newsread4.arcor-online.net...
> On computer A in an inhouse-LAN I installed successfully a printer. I
> allowed sharing for this printer.
> On computer B in the same LAN (Workgroup / NOT Domain) I want to access
> the printer
> on the neighbor computer A.
>
> Unfortuantely I (resp. others) setup personal firewalls and entered a
> couple of firewall rules.
> They seem to restrictive because comp B cannot see printer on comp A
> through browsing.
>
> Which ports do I have to open to enable printer sharing ?
>
> Peter
Author
27 Jul 2006 1:33 PM
Ian
445 for XP-style networking, or 137,138 and 139 (TCP/UDP) for the earlier
variety.

Also don't overlook the fact that to respond to browse queries the computer
must accept broadcasts, which are addressed to the highest IP in the subnet.
(Thus if you set the firewall to accept traffic from the specific IPs only,
and don't include the broadcast address, you may be surprised to find that no
browsing is possible)


-------------------------------

An alternative approach to XP network logon -  http://mylogon.net