Production-Setup: -ip.bind turns off the localhost listener (no -ip.bind.localhost flag)

Chris Lu committed 2026-11-05 10:37:36 -08:00
1 parent a4b3dba11f
commit c3822e480d
1 file changed
+6 -3
+6 -3
@@ -32,9 +32,12 @@ ensure SeaweedFS uses the correct IP for cluster communication. Append
If you wish to use a different IP address for user-facing services, then
set `-ip.bind=yy.yy.yy.yy` as well.
Each service also listens on the same ports on `localhost`, so local
tools can still reach it. To disable the extra localhost listener, add
`-ip.bind.localhost=false`.
Without `-ip.bind`, each service binds to the `-ip` address and also
listens on the same ports on `localhost`, so local tools can still reach it.
With `-ip.bind`, each port binds to exactly that address and there is no
extra `localhost` listener; `-ip.bind=0.0.0.0` listens on all interfaces,
loopback included. The Rust volume server never adds the `localhost`
listener.
### For single node setup