bind more specifically
This commit is contained in:
parent
a79ef349c8
commit
90b647795a
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ async fn main() -> Result<()> {
|
|||
.with_state(app_state);
|
||||
|
||||
// send it
|
||||
let address = "0.0.0.0:3030";
|
||||
let address = "127.0.0.1:3030";
|
||||
let listener = tokio::net::TcpListener::bind(address)
|
||||
.await
|
||||
.with_context(|| format!("{} is not a valid bind address.", address))?;
|
||||
|
|
Loading…
Add table
Reference in a new issue