LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-21-2024, 10:57 AM   #1
globetrotterdk
Member
 
Registered: Nov 2006
Posts: 297

Rep: Reputation: 16
HP printer unavailable with firewalled.


I have installed firewalld on my Debian 12 install and opened up ports 631 and 9100 on both tcp and udp, like I do when running Fedora, for my HP printer. The printer is a driverless HP Color LaserJet Pro M453. I have not changed any settings on the printer, for a very long time. Yet the system can't find the printer either for setup or printing. I have confirmed that the problem is firewalld, by running:
Code:
$ sudo systemctl stop firewalld
Then I was able to configure the printer. Now that I have firewalld back on, I can't print to the printer, and I get a "no suitable host found" error.

Is there something that Debian 12 does differently with firewalld, or the ports that printers connect to the system on?
 
Old 03-21-2024, 02:21 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,706

Rep: Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898
It depends on how strict are your firewall settings. Are you using IPP everywhere printing? Do you have a URL like
ipps://HPA8B13BBAA8DA.local:631/ipp/print

You might need to open mDNS port 5353 UDP. cups uses cups-browsed and/or avahi to automatically find printers which uses mDNS.
 
1 members found this post helpful.
Old 03-21-2024, 04:56 PM   #3
globetrotterdk
Member
 
Registered: Nov 2006
Posts: 297

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by michaelk View Post
It depends on how strict are your firewall settings. Are you using IPP everywhere printing? Do you have a URL like
ipps://HPA8B13BBAA8DA.local:631/ipp/print

You might need to open mDNS port 5353 UDP. cups uses cups-browsed and/or avahi to automatically find printers which uses mDNS.
Thanks for the reply. The connection is listed as "implicitclass://HP_Color_LaserJet_Pro_M453_4_E70F39/". The listing is the same in KDE printers section, as well as when I go into CUPS http://localhost:631/printers/
 
  


Reply

Tags
debian 12, firewalld



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to enable firewalled yahoo messenger tungaw2001 Linux - Networking 1 11-11-2003 04:48 AM
IRC from a firewalled network andrew001 Linux - Networking 0 08-09-2003 08:18 PM
GTK-Gnutella Knows I'm Firewalled Crashed_Again Linux - Software 4 03-08-2003 05:22 PM
NFS between firewalled machines altawolf Linux - Networking 2 12-02-2002 06:01 PM
I need a P2P that works behind a FIREWALLED port-blocked college network! shassouneh Linux - Networking 3 04-05-2002 01:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration