Skip to content

Commit f2436b9

Browse files
committed
changed server
1 parent d4d80ef commit f2436b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http/rust/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ async fn root() -> impl Responder {
88
#[actix_web::main] // or #[tokio::main]
99
async fn main() -> std::io::Result<()> {
1010
HttpServer::new(|| App::new().service(root))
11-
.bind(("127.0.0.1", 3000))?
11+
.bind(("0.0.0.0", 3000))?
1212
.run()
1313
.await
1414
}

0 commit comments

Comments
 (0)