only listen locally
This commit is contained in:
parent
99a4c4800e
commit
65b92f8532
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ async fn main() {
|
||||||
.route("/healthcheck", get(healthcheck));
|
.route("/healthcheck", get(healthcheck));
|
||||||
|
|
||||||
// run it with hyper on localhost:3000
|
// run it with hyper on localhost:3000
|
||||||
axum::Server::bind(&"0.0.0.0:3003".parse().unwrap())
|
axum::Server::bind(&"127.0.0.1:3003".parse().unwrap())
|
||||||
.serve(app.into_make_service())
|
.serve(app.into_make_service())
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
Loading…
Reference in a new issue