From a293394a4f69fec4454d14141528a1cf7b0fae20 Mon Sep 17 00:00:00 2001 From: reishi Date: Wed, 16 Dec 2020 04:13:33 +0900 Subject: [PATCH] Change the hostname of the document (#203) Hi, I tried this tutorial. I could not access the site on localhost:8080. The code was set to 127.0.0.1 so I changed it to that. --- content/docs/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/getting-started.md b/content/docs/getting-started.md index 12c6d37..8620de9 100644 --- a/content/docs/getting-started.md +++ b/content/docs/getting-started.md @@ -47,7 +47,7 @@ using your `App` as an "application factory". {{< include-example example="getting-started" section="main" >}} That's it! Compile and run the program with `cargo run`. The `#[actix_web::main]` macro executes the -async main function within the actix runtime. Now you can go to `http://localhost:8080/` or any of +async main function within the actix runtime. Now you can go to `http://127.0.0.1:8080/` or any of the other routes you defined to see the results.