Skip to content

Commit 634140d

Browse files
authored
fix: bind to anyip (#767)
1 parent a160ce4 commit 634140d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rust/src/graphql-cli.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ async fn main() -> Result<()> {
8787
Some("/subscriptions"),
8888
)));
8989

90-
tracing::info!("Listening on 127.0.0.1:{port}");
91-
warp::serve(routes).run(([127, 0, 0, 1], port)).await;
90+
tracing::info!("Listening on 0.0.0.0:{port}");
91+
warp::serve(routes).run(([0, 0, 0, 0], port)).await;
9292

9393
Ok(())
9494
}

0 commit comments

Comments
 (0)