use 0.0.0.0 instead of 127.0.0.1
This commit is contained in:
parent
6c1fa49350
commit
12219c43c9
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ async fn main() {
|
|||
|
||||
// run our app with hyper
|
||||
// `axum::Server` is a re-export of `hyper::Server`
|
||||
let addr = SocketAddr::from(([127, 0, 0, 1], 3000));
|
||||
let addr = SocketAddr::from(([0, 0, 0, 0], 3000));
|
||||
tracing::debug!("listening on http://{}/", addr);
|
||||
axum::Server::bind(&addr)
|
||||
.serve(app.into_make_service())
|
||||
|
|
Loading…
Reference in a new issue