[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CUPS Server Error



Adam Aube wrote:

Noah Durell wrote:
Adam Aube wrote:
Noah Durell wrote:

I get this error when I try to configure the printers in KDE:

CUPS is installed and running.  I removed it and reinstalled to be
sure.  Also when I try to access the CUPS web interface on
http://localhost:631 it says:

Forbidden
You don't have permission to access the resource on this server.

Is CUPS listening on port 631 (use 'netstat -ant' to see)?
Is there a firewall blocking port 631 over the loopback interface?

When I type netstat -ant I get the following:

tcp        0      0 0.0.0.0:631             0.0.0.0:*               LISTEN

This shows that CUPS is listening for network connections.

How do I check that the firewall is not blocking port 631?

For a 2.4 or 2.6 series kernel, this will show the firewall rules:

/sbin/iptables -L -vn

Adam


Here is what I get when I type /sbin/iptables -L -vn:

Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

-Noah



Reply to: