diff --git a/src/main/main.zig b/src/main/main.zig index f3c9728..5870bc2 100644 --- a/src/main/main.zig +++ b/src/main/main.zig @@ -102,7 +102,7 @@ pub fn main() !void { var api_src = try api.ApiSource.init(&pool); var srv = std.net.StreamServer.init(.{ .reuse_address = true }); defer srv.deinit(); - try srv.listen(std.net.Address.parseIp("0.0.0.0", 8080) catch unreachable); + try srv.listen(std.net.Address.parseIp("::1", 8080) catch unreachable); var i: usize = 0; while (i < cfg.worker_threads - 1) : (i += 1) {