# HG changeset patch # User bsw # Date 1436726817 -7200 # Node ID 30b3bf5db1bb44ce3a847a8ff41ba4bcd97c584c # Parent ccc357ccb68c844a8f0ec68b82e4a88790092165 Fixed listening to non-local IPv4 interfaces diff -r ccc357ccb68c -r 30b3bf5db1bb app/main/_prefork/10_init.lua --- a/app/main/_prefork/10_init.lua Tue Jun 23 19:58:17 2015 +0200 +++ b/app/main/_prefork/10_init.lua Sun Jul 12 20:46:57 2015 +0200 @@ -57,7 +57,7 @@ listen_options[#listen_options+1] = { proto = "tcp", host = host, port = config.port } end if config.ipv6 ~= "only" then - local host = config.localhost and "127.0.0.1" or "::" + local host = config.localhost and "127.0.0.1" or "0.0.0.0" listen_options[#listen_options+1] = { proto = "tcp", host = host, port = config.port } end