shogi-server source
修订版 | a0a5c3cae2771810bde98029299787638e309a7e (tree) |
---|---|
时间 | 2020-12-14 20:42:55 |
作者 | Mizar <mizar.jp@gmai...> |
Commiter | Mizar |
listen ipv4/ipv6
@@ -412,7 +412,7 @@ def main | ||
412 | 412 | $league.dir = $topdir |
413 | 413 | |
414 | 414 | config = {} |
415 | - config[:BindAddress] = "0.0.0.0" | |
415 | + config[:BindAddress] = nil | |
416 | 416 | config[:Port] = port |
417 | 417 | config[:ServerType] = WEBrick::Daemon if $options["daemon"] |
418 | 418 | config[:Logger] = $logger |