lpr error: cannot connect to remote host (127.0.0.1): Connection refused

shaham shahulalways at gmail.com
Tue Sep 27 23:57:02 PDT 2011


Hi pals,

I am trying to use CUPS for printing services in Linux debian.
Started the scheduler(cupsd) and configured the printer.
When trying to print a file by using the following command

  lpr -P Printer1 -V file1

i am getting below error:

  lpr: cannot connect to remote host (127.0.0.1): Connection refused

Note: In /etc/hosts file, i have added a line "127.0.0.1 localhost"

Could you please guide me to resolve this issue?

Thanks in advance.

Shaham.




More information about the cups mailing list