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

Re: Pas possible de configurer cups par localhost:631



Sylvain Sauvage a écrit :

Sun, 14 Nov 2004 12:57:50 +0100, Denis Bailliet a écrit :
Que donne un 'netstat -tpan' ?


Pour Cupsd j'ai
tcp 0   0 0.0.0.0:631   0.0.0.0:* LISTEN   5   86/cupsd

Seul exim4 a pour adresse locale 127.0.0.1:25
j'imagine que le probleme viens de la ?

Ben non, là c'est ok, ça signifie qu'il écoute pour toutes les adresses
(donc aussi 127.0.0.1).

Et le cupsd.conf ? notamment « Listen » (s'il y a) et « <Location /> »

# Ports/addresses that we listen to.  The default port 631 is reserved
# for the Internet Printing Protocol (IPP) and is what we use here.
#
# You can have multiple Port/Listen lines to listen to more than one
# port or address, or to restrict access:
#
#    Port 80
#    Port 631
#    Listen hostname
#    Listen hostname:80
#    Listen hostname:631
#    Listen 1.2.3.4
#    Listen 1.2.3.4:631
#
# NOTE: Unfortunately, most web browsers don't support TLS or HTTP Upgrades
# for encryption.  If you want to support web-based encryption you'll
# probably need to listen on port 443 (the "https" port...)
#

#Port 80
#Port 443
Port 631


et

<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
rigouresement identique a la machine qui va bien.

Denis



Reply to: