1
0
mirror of https://github.com/actix/actix-website synced 2025-06-29 00:10:36 +02:00

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.
This commit is contained in:
reishi
2020-12-16 04:13:33 +09:00
committed by GitHub
parent cdbb5dd2b2
commit a293394a4f

View File

@ -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.
<!-- LINKS -->