diff --git a/example/client/app/app.go b/example/client/app/app.go index c2c8c3f..34c89d2 100644 --- a/example/client/app/app.go +++ b/example/client/app/app.go @@ -93,5 +93,5 @@ func main() { lis := fmt.Sprintf("127.0.0.1:%s", port) logrus.Infof("listening on http://%s/", lis) - logrus.Fatal(http.ListenAndServe("127.0.0.1:"+port, nil)) + logrus.Fatal(http.ListenAndServe(lis, nil)) }