listen on 0.0.0.0
This commit is contained in:
parent
667dc33249
commit
1da3cd2cef
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ async fn main() {
|
|||
.unwrap_or("8000".to_string())
|
||||
.parse()
|
||||
.unwrap();
|
||||
let addr = SocketAddr::from(([127, 0, 0, 1], port));
|
||||
let addr = SocketAddr::from(([0, 0, 0, 0], port));
|
||||
|
||||
println!("Listening on http://{}", addr);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue