aboutsummaryrefslogtreecommitdiff
path: root/weed/command/volume.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command/volume.go')
-rw-r--r--weed/command/volume.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/volume.go b/weed/command/volume.go
index 68a0ce223..341111ecd 100644
--- a/weed/command/volume.go
+++ b/weed/command/volume.go
@@ -127,7 +127,7 @@ func (v VolumeServerOptions) startVolumeServer(volumeFolders, maxVolumeCounts, v
}
if *v.ip == "" {
- *v.ip = "127.0.0.1"
+ *v.ip = util.DetectedHostAddress()
}
if *v.publicPort == 0 {