Skip to content

Commit 0f7bae7

Browse files
committed
bind to any ip
1 parent 2bd1e11 commit 0f7bae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ fn main() {
1414
let mut mount = Mount::new();
1515
mount.mount("/", Static::new(Path::new("./")));
1616
println!("listening on port {:?}", port);
17-
Iron::new(mount).http(("127.0.0.1", port)).unwrap();
17+
Iron::new(mount).http(("0.0.0.0", port)).unwrap();
1818
}

0 commit comments

Comments
 (0)