Browse Source

filer ip only use bind ip

pull/991/head
Chris Lu 6 years ago
parent
commit
ab22407763
  1. 2
      weed/command/server.go

2
weed/command/server.go

@ -128,7 +128,7 @@ func runServer(cmd *Command, args []string) bool {
master := *serverIp + ":" + strconv.Itoa(*masterPort) master := *serverIp + ":" + strconv.Itoa(*masterPort)
filerOptions.masters = &master filerOptions.masters = &master
filerOptions.ip = serverIp
filerOptions.ip = serverBindIp
serverOptions.v.ip = serverIp serverOptions.v.ip = serverIp
serverOptions.v.bindIp = serverBindIp serverOptions.v.bindIp = serverBindIp
serverOptions.v.masters = &master serverOptions.v.masters = &master

Loading…
Cancel
Save