aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCeleste <colean@colean.cc>2021-10-16 15:20:33 +0100
committerCeleste <colean@colean.cc>2021-10-16 15:20:33 +0100
commita6f5fba33b512738d8d0d1616b15d71ca1bedd7c (patch)
treed57d65d66bfce4d8fb3f152630a59794bc88a1bf
parent96189b04adf3bc1f5893a25a8a6fb08d5fe8f4e8 (diff)
Bind on everything
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 9808c5e..126517b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -145,7 +145,7 @@ fn serve(mut stream: TcpStream) {
fn main() -> std::io::Result<()> {
- let listen = TcpListener::bind("127.0.0.1:8080")?;
+ let listen = TcpListener::bind("0.0.0.0:8080")?;
for stream in listen.incoming() {
println!("Serving incoming stream.");