Skip to content

Commit

Permalink
backend: fix bind addr
Browse files Browse the repository at this point in the history
  • Loading branch information
hynseok committed Nov 3, 2024
1 parent 5bc0407 commit 75a0343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use std::net::TcpListener;
#[tokio::main]
async fn main() -> std::io::Result<()> {
let config = get_configuration().expect("Failed to read configuration.");
let address = format!("127.0.0.1:{}", config.application_port);
let address = format!("0.0.0.0:{}", config.application_port);

let listener = TcpListener::bind(address)?;
run(listener)?.await
Expand Down

0 comments on commit 75a0343

Please sign in to comment.