From 31cff9f6287f66d5e932a05cfb338ecd1a1e7d7b Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Sun, 19 Mar 2017 09:05:39 -0600 Subject: [PATCH] Less ambiguous HTTP settings --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 0affa64..dc977ac 100644 --- a/main.go +++ b/main.go @@ -124,14 +124,14 @@ func main() { r.POST("/v1/db/:dbname/move", handleMove) // Move keys, with buckets and keys specified by JSON r.POST("/v1/db/:dbname/create", handleCreateDB) // Move keys, with buckets and keys specified by JSON - fmt.Printf("boltdb-server (v. %s) running on %s:%s\n", version, GetLocalIP(), port) + fmt.Printf("boltdb-server (v.%s) running on http://%s:%s\n", version, GetLocalIP(), port) r.Run(":" + port) // listen and serve on 0.0.0.0:8080 return nil } app.Flags = []cli.Flag{ cli.StringFlag{ Name: "port, p", - Value: "8080", + Value: "8050", Usage: "port to use to listen", }, cli.StringFlag{