diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-03-12 15:32:51 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-03-12 15:32:51 -0800 |
| commit | 2a68ddb963d2ad3810b799487fa66059790fb105 (patch) | |
| tree | 42ed3eff907a1a1e7b06aa35016943780b1dda61 /weed/command/volume.go | |
| parent | 5fbcaaf37ab6c7588950ca679dbc718c1c499234 (diff) | |
| download | seaweedfs-2a68ddb963d2ad3810b799487fa66059790fb105.tar.xz seaweedfs-2a68ddb963d2ad3810b799487fa66059790fb105.zip | |
default to empty host to bind to tcp4 and tcp6
Diffstat (limited to 'weed/command/volume.go')
| -rw-r--r-- | weed/command/volume.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/volume.go b/weed/command/volume.go index f49ece9dc..0e8224dbc 100644 --- a/weed/command/volume.go +++ b/weed/command/volume.go @@ -71,7 +71,7 @@ func init() { v.publicPort = cmdVolume.Flag.Int("port.public", 0, "port opened to public") v.ip = cmdVolume.Flag.String("ip", util.DetectedHostAddress(), "ip or server name") v.publicUrl = cmdVolume.Flag.String("publicUrl", "", "Publicly accessible address") - v.bindIp = cmdVolume.Flag.String("ip.bind", "0.0.0.0", "ip address to bind to") + v.bindIp = cmdVolume.Flag.String("ip.bind", "", "ip address to bind to") v.masters = cmdVolume.Flag.String("mserver", "localhost:9333", "comma-separated master servers") v.preStopSeconds = cmdVolume.Flag.Int("preStopSeconds", 10, "number of seconds between stop send heartbeats and stop volume server") // v.pulseSeconds = cmdVolume.Flag.Int("pulseSeconds", 5, "number of seconds between heartbeats, must be smaller than or equal to the master's setting") |
