diff --git a/src/main.rs b/src/main.rs index 259fc90..3cb7048 100644 --- a/src/main.rs +++ b/src/main.rs @@ -8,7 +8,7 @@ mod http; fn main() { let listener = - TcpListener::bind("127.0.0.1:7878").unwrap_or_else(|_| fatal("Failed to bind to address")); + TcpListener::bind("[::]:7878").unwrap_or_else(|_| fatal("Failed to bind to address")); ctrlc::set_handler(move || { println!("Shutting down...");