What ports need to be open to provide print services - firewall issue

We have two subnets (xxx.xxx.247.1-128 and xxx.xxx.247.129-256) on our network behind our firewall...a server (Windows 2012 DataCenter server) that I recently provisioned to be a print server sits in one subnet (xxx.xxx.247.123) and I have a PC (Windows 7) sitting in another subnet (xxx.xxx.247.134) that I want to add to it.

Normally when I add a printer, I use the wizard and enter the \\{servername} and a list of printers available will display. When I do this on the PC however, the print server will not show the list of printers as it does when I'm on a PC in the same subnet. I had our firewall administrator open printer ports (9100 and 515). He specified the rule as: xxx.xxx.247.128/25 -> xxx.xxx.247.123 on printer ports(9100 and 515).

Is there something else I need to be enabling that could be blocking .134 from seeing the list of printers available on .123?
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.

Connecting via the printer server is done using SMB. You need the TCP/IP ports open only if you want to print direct to the printer, not via the server. In other words, they need to be open for the server. In that case you may also have to allow the SNMP ports (161 and 162).

For SMB to work, you need to open ports 137-139 and possibly 445.
However, I think your problem is more likely to be one of permissions on the server. I do not know how your server is set up, but check its settings.
jb61264Author Commented:
Thanks for your comments hdhondt. I am working with our firewall administrator this morning to open 137-139 and 445 first...if that doesn't work I'll also try the SNMP ports.

What settings in particular do you think need to be reviewed on the server? It is functioning correctly as a print server when I add printers for PCs that are in the same subnet as the print server, just PCs that are in the other subnet that I have issues with.
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Googling some more I found at least one case where port 445 was the culprit. If it isn't, is the server on the same domain as the PC? Are you running GPO?

You can try these suggestions:

You can also try connecting to the server as \\xxx.xxx.247.123
jb61264Author Commented:
Our firewall admin opened port 445 and it still does not work. He claimed that 137-139 shouldn't be needed but now that it hasn't worked by opening 445, I'm going to see if he will open 137-139
As per my earlier comment, I think your problem has to do with permissions on the server, not with ports. You need to look at how your sever and your network are set up.

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
jb61264Author Commented:
I guess I'm confused as to what settings my server would need to have modified. As I mentioned, it shows up just fine for PCs that are in the same subnet
Somehow the server distinguishes between the subnets.

What method of user authentication are you using? Are all PCs on the same domain?
jb61264Author Commented:
all PCs are on the same domain, user authentication is Windows based.
Do the printers show if you log into a PC as Administrator?
Thanks for the points jb61264, but what did you do to get it working?
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
Hardware Firewalls

From novice to tech pro — start learning today.