Ask Your Question
2

Services running on the system, is this native to Feroda 25? RCP IPP

asked 2017-07-07 10:24:23 -0500

EDY gravatar image

Are these active services in the system normal, can I disable them without giving a problem?

PORT STATE SERVICE 111 / tcp open rpcbind 631 / tcp open ipp

edit retag flag offensive close merge delete

Comments

port 631 is cups, printer service and should be open on localhost and on the network if you share a printer. Port 111 is used on NFS (Network File System) should be close unless you share part of your disk on the network.

aeperezt gravatar imageaeperezt ( 2017-07-07 10:39:59 -0500 )edit

THanks. I can disable 111?

EDY gravatar imageEDY ( 2017-07-07 10:46:49 -0500 )edit

right, you can disable port 111.

aeperezt gravatar imageaeperezt ( 2017-07-07 12:13:23 -0500 )edit

... if you are not intending to use NFS

florian gravatar imageflorian ( 2017-07-07 12:38:16 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2017-07-07 12:09:12 -0500

villykruse gravatar image

Port 111 is the rpcbind service and is required for running an nfs service. To stop the service:

systemctl disable rpcbind.service
systemctl disable rpcbind.socket
systemctl stop rpcbind.service
systemctl stop rpcbind.socket

If you don't need the service, there is no point in running it.

edit flag offensive delete link more
0

answered 2017-07-07 11:22:10 -0500

florian gravatar image

updated 2017-07-07 12:37:52 -0500

From command line:

firewall-cmd --list-ports shows all open ports (or you can scan your host using nmap localhost)

firewall-cmd --remove-port=111 will "close" port 111. Be aware, your NFS will not work afterwards.

If you need a GUI tool, install and use firewall-config.

edit flag offensive delete link more

Comments

You meant 111 rather than 110 ?

villykruse gravatar imagevillykruse ( 2017-07-07 12:10:25 -0500 )edit

Sure, I meant 111, not 110 (I'll edit my post). And of course, your answer is the better one. If one doesn't use the service, it can be disabled completely, not just closing the port, though that was what the person asked.

florian gravatar imageflorian ( 2017-07-07 12:37:20 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2017-07-07 10:24:23 -0500

Seen: 72 times

Last updated: Jul 07 '17