[cups.general] How to close port 631?

WilliamS none at nospam.ir
Wed Mar 2 10:36:11 PST 2005


Thanks, but got another idea, and did:

stop cups:
/etc/rc.d/rc.cups stop
edit cupsd.conf after the second instgance of Port 631

Listen 127.0.0.1:631

Stop UDP listening:
Browsing Off

start cups
/etc/rc.d/rc.cups start

Then
 netstat -pantu
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
PID/Program name
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN     
1158/cupsd
tcp        0      0 142.217.218.206:32768   64.233.167.147:80      
ESTABLISHED 1239/opera
tcp        0      0 142.217.218.206:32769   64.233.167.147:80      
ESTABLISHED 1239/opera

and the printer prints.
Seems OK to my newbish ideas, if not please comment.

TIA

WilliamS


Jerome Alet wrote:


> 
> /etc/init.d/cupsys stop
> 
> maybe...
> 
> (although the real path may depend on your distribution)
> 
> hth
> 
> Jerome Alet





More information about the cups mailing list