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/filer.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/filer.go')
| -rw-r--r-- | weed/command/filer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/filer.go b/weed/command/filer.go index 534bd9e04..68edb8e69 100644 --- a/weed/command/filer.go +++ b/weed/command/filer.go @@ -54,7 +54,7 @@ func init() { f.masters = cmdFiler.Flag.String("master", "localhost:9333", "comma-separated master servers") f.collection = cmdFiler.Flag.String("collection", "", "all data will be stored in this default collection") f.ip = cmdFiler.Flag.String("ip", util.DetectedHostAddress(), "filer server http listen ip address") - f.bindIp = cmdFiler.Flag.String("ip.bind", "0.0.0.0", "ip address to bind to") + f.bindIp = cmdFiler.Flag.String("ip.bind", "", "ip address to bind to") f.port = cmdFiler.Flag.Int("port", 8888, "filer server http listen port") f.publicPort = cmdFiler.Flag.Int("port.readonly", 0, "readonly port opened to public") f.defaultReplicaPlacement = cmdFiler.Flag.String("defaultReplicaPlacement", "", "default replication type. If not specified, use master setting.") |
