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/master.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/master.go')
| -rw-r--r-- | weed/command/master.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/master.go b/weed/command/master.go index fb58cfefd..40d9b9a16 100644 --- a/weed/command/master.go +++ b/weed/command/master.go @@ -49,7 +49,7 @@ func init() { cmdMaster.Run = runMaster // break init cycle m.port = cmdMaster.Flag.Int("port", 9333, "http listen port") m.ip = cmdMaster.Flag.String("ip", util.DetectedHostAddress(), "master <ip>|<server> address") - m.ipBind = cmdMaster.Flag.String("ip.bind", "0.0.0.0", "ip address to bind to") + m.ipBind = cmdMaster.Flag.String("ip.bind", "", "ip address to bind to") m.metaFolder = cmdMaster.Flag.String("mdir", os.TempDir(), "data directory to store meta data") m.peers = cmdMaster.Flag.String("peers", "", "all master nodes in comma separated ip:port list, example: 127.0.0.1:9093,127.0.0.1:9094,127.0.0.1:9095") m.volumeSizeLimitMB = cmdMaster.Flag.Uint("volumeSizeLimitMB", 30*1000, "Master stops directing writes to oversized volumes.") |
