mirror of
https://github.com/actix/actix-website
synced 2025-01-22 16:15:56 +01: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:
parent
cdbb5dd2b2
commit
a293394a4f
@ -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 -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user