Accessing LInux CUPS administration page on port 631 from outside localhost
Many of our clients use Linux - Ubuntu or Raspberry Pi - as a print server. They generally dont have a GUI for the Linux system which is connected to the printer. Many used in the kitchen or stores. M
CUPS ( the de-facto printing system of Linux ) has a reasonably good web interface on TCP port 631. If you don't have graphic or GUI installed on the Linux system, you can still use in command line ( w3m http://localhost:631 ) , but it is not going to be a nice experience. You better need to access it from a Chrome or Mozilla browser. By default, the access is restricted on Localhost.
Edit this file /etc/cups/cupsd.conf
Comment this line #Listen localhost:631
Add this line - Port 631
Restart the cups service .
sudo service cups restart
Now you will be able to access cups admin panel form your computer. Assume Linux IP is 192.168.100.20
Then on chrome http://192.168.100.20:631
If you get an error FORBIDDEN , or access denied run the following command
sudo cupsctl --remote-admin --remote-any --share-printers
sudo service cusps restart
Happy printing. You can always use clint.bot for cloud printing

Team ERPGulf
The team behind ERPGulf blogs here, expresses their thoughts, shares the experience, often show the frustrations. Contact us on support@ERPGulf.com
No comments yet. Start a new discussion.