Skip to content

Commit

Permalink
Merge pull request #5 from WyriHaximusNet/listen-on-non-localhost-port
Browse files Browse the repository at this point in the history
Listen on non-localhost address
  • Loading branch information
WyriHaximus authored Mar 9, 2021
2 parents 659da3f + f5c10cd commit 254001f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ lazy_static! {
#[tokio::main]
async fn main() {
register_custom_metrics();
let addr = ([127, 0, 0, 1], 8080).into();
let addr = ([0, 0, 0, 0], 16289).into();
println!("Listening on http://{}", addr);

tokio::task::spawn(data_collector());
Expand Down

0 comments on commit 254001f

Please sign in to comment.