Skip to content

Commit

Permalink
Listen on non-localhost address
Browse files Browse the repository at this point in the history
Also assigned a more random port
  • Loading branch information
WyriHaximus committed Mar 9, 2021
1 parent cd8dd28 commit f5c10cd
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 f5c10cd

Please sign in to comment.