There is no way to prevent rpcbind from listening on all interfaces for TCP connections. The setting "-h" only applies to UDP connections.
Without the attached patch, starting rpcbind with -h makes no effect to listen on a specific address: $ rpcbind -h 192.168.100.2 tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 22011/rpcbind tcp6 0 0 :::111 :::* LISTEN 22011/rpcbind udp 0 0 127.0.0.1:111 0.0.0.0:* 22011/rpcbind udp 0 0 0.0.0.0:986 0.0.0.0:* 22011/rpcbind udp6 0 0 ::1:111 :::* 22011/rpcbind udp6 0 0 :::986 :::* 22011/rpcbind With this patch, starting rpcbind with -h makes effect to listen to a specific address $ rpcbind -h 192.168.100.2 tcp 0 0 192.168.100.2:111 0.0.0.0:* LISTEN 24826/rpcbind tcp 0 0 127.0.0.1:111 0.0.0.0:* LISTEN 24826/rpcbind tcp6 0 0 ::1:111 :::* LISTEN 24826/rpcbind ** Branch linked: lp:~niedbalski/ubuntu/vivid/rpcbind/fix-lp-1430181 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1430181 Title: rpcbind/rpc.statd listen on all interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rpcbind/+bug/1430181/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs