diff --git a/app.go b/app.go index 94406e1..e1c6607 100644 --- a/app.go +++ b/app.go @@ -243,7 +243,7 @@ func Serve() { http.Handle("/", r) log.Info("Serving on http://localhost:%d\n", app.cfg.Server.Port) log.Info("---") - err = http.ListenAndServe(fmt.Sprintf(":%d", app.cfg.Server.Port), nil) + err = http.ListenAndServe(fmt.Sprintf("localhost:%d", app.cfg.Server.Port), nil) if err != nil { log.Error("Unable to start: %v", err) os.Exit(1)