In my Linux Manjaro port 631 open please tell me how to close

please help in my monjaro linux open port 631
tell me how to close i try many times to close

Hi @secure8741, and welcome!

Accoring to Wikipedia:

IPP uses TCP with port 631 as its well-known port.

Products using the Internet Printing Protocol include CUPS (which is part of Apple macOS and many BSD and Linux distributions and is the reference implementation for most versions of IPP [23]), Novell iPrint, and Microsoft Windows versions starting from MS Windows 2000.[24] Windows XP and Windows Server 2003 offer IPP printing via HTTPS. Windows Vista, Windows 7,[25] Windows Server 2008 and 2008 R2 also support IPP printing over RPC in the “Medium-Low” security zone.

So quickly, if you want it closed, uninstall your printer. Or CUPS. Or something liked that. I also have it open:

$ netstat -lantp | grep 631
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp        0      0   *               LISTEN      -
tcp6       0      0 :::631                  :::*                    LISTEN      -

So I don’t think there is a problem.

1 Like

You would have to stop sharing a printer or disable print services

1 Like

Also, remember that on Linux, contrarily to Windows, a port is closed to incoming connections unless a program is actively listening to it.