fix: actix listent on 0.0.0.0 (#1664)

Signed-off-by: Matej Vasek <mvasek@redhat.com>
This commit is contained in:
Matej Vasek 2023-04-01 16:57:01 +02:00 committed by GitHub
parent c6c0f7eb66
commit ae1b0c5eef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7070 additions and 7070 deletions

File diff suppressed because it is too large Load Diff

View File

@ -25,7 +25,7 @@ async fn main() -> std::io::Result<()> {
web::get().to(HttpResponse::Ok),
)
})
.bind(("127.0.0.1", port))?
.bind(("0.0.0.0", port))?
.workers(1)
.run()
.await

View File

@ -25,7 +25,7 @@ async fn main() -> std::io::Result<()> {
web::get().to(HttpResponse::Ok),
)
})
.bind(("127.0.0.1", port))?
.bind(("0.0.0.0", port))?
.workers(1)
.run()
.await