Skip to content

Commit

Permalink
fix: actix listent on 0.0.0.0 (#1664) (#1665)
Browse files Browse the repository at this point in the history
Signed-off-by: Matej Vasek <mvasek@redhat.com>
Co-authored-by: Matej Vasek <mvasek@redhat.com>
  • Loading branch information
lance and matejvasek committed Apr 1, 2023
1 parent f1be444 commit 514a2ad
Show file tree
Hide file tree
Showing 3 changed files with 7,067 additions and 7,067 deletions.
2 changes: 1 addition & 1 deletion templates/rust/cloudevents/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion templates/rust/http/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit 514a2ad

Please sign in to comment.