diff options
Diffstat (limited to 'cmd/server.go')
| -rw-r--r-- | cmd/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/server.go b/cmd/server.go index 6182221..45fe197 100644 --- a/cmd/server.go +++ b/cmd/server.go @@ -22,7 +22,7 @@ type ServerFlags struct { } func SetupServerFlags(args []string, fs *flag.FlagSet, flags *ServerFlags) { - fs.StringVar(&flags.Address, "address", "", "the address to listen on, prefix with 'unix:' to create a unixsocket") + fs.StringVar(&flags.Address, "address", "127.0.0.1", "the address to listen on, prefix with 'unix:' to create a unixsocket") fs.IntVar(&flags.Port, "port", 8080, "the port to bind to") fs.Parse(args) |
