{
    "mode": "man",
    "parameter": "rpcbind",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/rpcbind/8/json",
    "generated": "2026-06-02T15:17:22Z",
    "synopsis": "rpcbind [-adhiLlsr]",
    "sections": {
        "NAME": {
            "content": "rpcbind — universal addresses to RPC program number mapper\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "rpcbind [-adhiLlsr]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The rpcbind utility is a server that converts RPC program numbers into universal addresses.  It\nmust be running on the host to be able to make RPC calls on a server on that machine.\n\nWhen an RPC service is started, it tells rpcbind the address at which it is listening, and the\nRPC program numbers it is prepared to serve.  When a client wishes to make an RPC call to a\ngiven program number, it first contacts rpcbind on the server machine to determine the address\nwhere RPC requests should be sent.\n\nThe rpcbind utility should be started before any other RPC service.  Normally, standard RPC\nservers are started by port monitors, so rpcbind must be started before port monitors are in‐\nvoked.\n\nWhen rpcbind is started, it checks that certain name-to-address translation-calls function cor‐\nrectly.  If they fail, the network configuration databases may be corrupt.  Since RPC services\ncannot function correctly in this situation, rpcbind reports the condition and terminates.\n\nThe rpcbind utility can only be started by the super-user.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-a -d",
                    "content": "",
                    "flag": "-d"
                },
                {
                    "name": "-d",
                    "content": "tion, and will abort on certain errors if -a is also specified.  With this option, the\nname-to-address translation consistency checks are shown in detail.\n",
                    "flag": "-d"
                },
                {
                    "name": "-f",
                    "content": "",
                    "flag": "-f"
                },
                {
                    "name": "-h",
                    "content": "fied multiple times and can be used to restrict the interfaces rpcbind will respond to.\nWhen specifying IP addresses with -h, rpcbind will automatically add 127.0.0.1 and if\nIPv6 is enabled, ::1 to the list.  If no -h option is specified, rpcbind will bind to\nINADDRANY, which could lead to problems on a multi-homed host due to rpcbind returning\na UDP packet from a different IP address than it was sent to.  Note that when rpcbind\nis controlled via systemd's socket activation, the -h option is ignored. In this case,\nyou need to edit the ListenStream and ListenDgram definitions in\n/usr/lib/systemd/system/rpcbind.socket instead.\n",
                    "flag": "-h"
                },
                {
                    "name": "-i",
                    "content": "these requests only from the loopback interface for security reasons.  This change is\nnecessary for programs that were compiled with earlier versions of the rpc library and\ndo not make those requests using the loopback interface.\n",
                    "flag": "-i"
                },
                {
                    "name": "-l",
                    "content": "",
                    "flag": "-l"
                },
                {
                    "name": "-s",
                    "content": "use non-privileged ports for outgoing connections, preventing non-privileged clients\nfrom using rpcbind to connect to services from a privileged port.\n",
                    "flag": "-s"
                },
                {
                    "name": "-w",
                    "content": "state file is created when rpcbind terminates.\n",
                    "flag": "-w"
                },
                {
                    "name": "-r",
                    "content": "rpcinfo need this feature turned on for work properly. (This flag is a Debian exten‐\nsion.)\n",
                    "flag": "-r"
                }
            ]
        },
        "FILES": {
            "content": "If \"/etc/default/rpcbind\" exists, rpcbind will use the specified options at launch time rpcbind\nOtherwise rpcbind will try to load configuration from \"/etc/rppcbind.conf\" rpcbind The default\noptions are set as \"-w -f\".\n",
            "subsections": []
        },
        "NOTES": {
            "content": "All RPC servers must be restarted if rpcbind is restarted.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "rpcinfo(8)\n",
            "subsections": []
        },
        "LINUX PORT": {
            "content": "Aurelien Charbon <aurelien.charbon@bull.net>\n\nBSD                           September 14, 1992                           BSD",
            "subsections": []
        }
    },
    "summary": "rpcbind — universal addresses to RPC program number mapper",
    "flags": [
        {
            "flag": "-d",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-d",
            "long": null,
            "arg": null,
            "description": "tion, and will abort on certain errors if -a is also specified. With this option, the name-to-address translation consistency checks are shown in detail."
        },
        {
            "flag": "-f",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-h",
            "long": null,
            "arg": null,
            "description": "fied multiple times and can be used to restrict the interfaces rpcbind will respond to. When specifying IP addresses with -h, rpcbind will automatically add 127.0.0.1 and if IPv6 is enabled, ::1 to the list. If no -h option is specified, rpcbind will bind to INADDRANY, which could lead to problems on a multi-homed host due to rpcbind returning a UDP packet from a different IP address than it was sent to. Note that when rpcbind is controlled via systemd's socket activation, the -h option is ignored. In this case, you need to edit the ListenStream and ListenDgram definitions in /usr/lib/systemd/system/rpcbind.socket instead."
        },
        {
            "flag": "-i",
            "long": null,
            "arg": null,
            "description": "these requests only from the loopback interface for security reasons. This change is necessary for programs that were compiled with earlier versions of the rpc library and do not make those requests using the loopback interface."
        },
        {
            "flag": "-l",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-s",
            "long": null,
            "arg": null,
            "description": "use non-privileged ports for outgoing connections, preventing non-privileged clients from using rpcbind to connect to services from a privileged port."
        },
        {
            "flag": "-w",
            "long": null,
            "arg": null,
            "description": "state file is created when rpcbind terminates."
        },
        {
            "flag": "-r",
            "long": null,
            "arg": null,
            "description": "rpcinfo need this feature turned on for work properly. (This flag is a Debian exten‐ sion.)"
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "rpcinfo",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/rpcinfo/8/json"
        }
    ]
}