mirror of
https://github.com/openziti/zrok.git
synced 2024-11-23 00:23:48 +01:00
default to 127.0.0.1, not 0.0.0.0
This commit is contained in:
parent
4f32c7975a
commit
b80eb4f837
@ -33,7 +33,7 @@ func newAccessPrivateCommand() *accessPrivateCommand {
|
||||
}
|
||||
command := &accessPrivateCommand{cmd: cmd}
|
||||
cmd.Run = command.run
|
||||
cmd.Flags().StringVarP(&command.bindAddress, "bind", "b", "0.0.0.0:9191", "The address to bind the private frontend")
|
||||
cmd.Flags().StringVarP(&command.bindAddress, "bind", "b", "127.0.0.1:9191", "The address to bind the private frontend")
|
||||
return command
|
||||
}
|
||||
|
||||
|
@ -43,7 +43,7 @@ func newTestEndpointCommand() *testEndpointCommand {
|
||||
}
|
||||
panic(err)
|
||||
}
|
||||
cmd.Flags().StringVarP(&command.address, "address", "a", "0.0.0.0", "The address for the HTTP listener")
|
||||
cmd.Flags().StringVarP(&command.address, "address", "a", "127.0.0.1", "The address for the HTTP listener")
|
||||
cmd.Flags().Uint16VarP(&command.port, "port", "P", 9090, "The port for the HTTP listener")
|
||||
cmd.Run = command.run
|
||||
return command
|
||||
|
Loading…
Reference in New Issue
Block a user