From accaf16ba9a7605e0abb960cbf376be81fb1ea24 Mon Sep 17 00:00:00 2001 From: Michael Preisach Date: Fri, 26 Apr 2019 15:45:03 +0200 Subject: [PATCH] Now accepting all incoming IPs --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index ee5152e..8fef712 100644 --- a/src/main.rs +++ b/src/main.rs @@ -35,7 +35,7 @@ fn handle_connection(stream: TcpStream) -> Result<()> { } fn main() -> Result<()> { - let address = "127.0.0.1:8000"; + let address = "0.0.0.0:8000"; let listener = TcpListener::bind(address).expect("could not start server"); // accept connections and get a TcpStream