What is listening on port 111?

What is listening on port 111?

“Portmapper is an RPC service, which always listens on tcp and udp 111, and is used to map other RPC services (such as nfs, nlockmgr, quotad, mountd, etc.) to their corresponding port number on the server. …

Is it safe to disable Rpcbind?

no, there is no any danger.

How do I disable portmapper in Linux?

Linux OS service ‘portmap’

  1. Service Name.
  2. Service Control.
  3. # chkconfig –list portmap portmap 0:off 1:off 2:on 3:on 4:on 5:on 6:off.
  4. # service portmap Usage: /etc/init.d/portmap {start|stop|status|restart|reload|condrestart}
  5. # service portmap start Starting portmap: [ OK ]
  6. # service portmap stop Stopping portmap: [ OK ]

Does NFS need rpcbind?

IOW – The rpcbind service is needed by nfs clients that use v2 and v3, as it required for file locking, and can be disabled for nfs v4 clients, as locking is a part of the NFSv4.

What is the use of rpcbind in Linux?

The rpcbind utility is a server that converts RPC program numbers into universal addresses. It must be running on the host to be able to make RPC calls on a server on that machine. When an RPC service is started, it tells rpcbind the address at which it is listening, and the RPC program numbers it is prepared to serve.

How to disable port 111 in Fedora 25?

Port 111 is linked to to portmap. If you use NFS chances are you will need it. You can use systemctl -a | grep -E “rpc|port” to see the name of the corresponding service and disable it (I don’t have access to a Fedora box at the time).

Why is port 111 still open after reboot?

After reboot the port is still open. It appears something other than Sun gear wants to listen on port 111. Or maybe systemd is not respecting my wishes to disable the unused service. Or maybe something else… How do I determine what is trying to listen on the port, and how do I disable it?

What is the status of rpcbind in Fedora 25?

Jeff Schaller points out you can use the command systemctl list-sockets, to see the ports and services which systemd is implementing socket activation for. I went back and had a look at Fedora-Workstation-Live-x86_64-25-1.3.iso. The status of rpcbind.service shows indirect; vendor preset; disabled. (Also Active: inactive (dead) ).

What does it mean when a port is visible from outside?

When the Port is visible from outside, that means that some service is listening on it. Find out which one it is and bind it to lo or 127.0.0.1 instead. Note: a portscan running over localhost will therefore always find the ports on which a service is listening.