bind more specifically

This commit is contained in:
Adam 2024-08-27 13:53:10 -04:00
parent a79ef349c8
commit 90b647795a

View file

@ -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))?;