We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4d80ef commit f2436b9Copy full SHA for f2436b9
http/rust/src/main.rs
@@ -8,7 +8,7 @@ async fn root() -> impl Responder {
8
#[actix_web::main] // or #[tokio::main]
9
async fn main() -> std::io::Result<()> {
10
HttpServer::new(|| App::new().service(root))
11
- .bind(("127.0.0.1", 3000))?
+ .bind(("0.0.0.0", 3000))?
12
.run()
13
.await
14
}
0 commit comments