I'm configuring a new install of Ubuntu 9.04 laptop and when I do a port scan, I find that TCP 631 (IPP) is open. What do I do to disable this listening port?

link|improve this question
feedback

2 Answers

up vote 3 down vote accepted

CUPS, which is part of the Linux Standard Base, is enabled. To stop the service:

sudo /etc/init.d/cupsys stop

To disable it from startup:

update-rc.d -f cupsys remove
update-rc.d cupsys stop 20 2 3 4 5 .
link|improve this answer
Or don't - it's possible that Bob didn't realize this is CUPS, and he may not want to shut printing down. – David Thornley Aug 19 '09 at 17:09
I do know that it's CUPS, and printing is not necessary for this machine so shutting down the service is a viable options. So does CUPS require this port be listening in order to function? – Bob Aug 19 '09 at 19:17
feedback

Don't disable it, this is your printer!

To enable it again you can add port TCP 631 to your Firewall. Just type 631 in the Firewall.

More info at the Ubuntu Forums:

Thank you ! I have just deleted the port 631/tcp from FIREWALL because Facebook disconnected me alone wich gave me suspicions. So this was my printer !!! So just I'll just add again ALLOW IN TCP 631 inside my FIREWALL.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.