shogi-server source
Revision | a0a5c3cae2771810bde98029299787638e309a7e (tree) |
---|---|
Time | 2020-12-14 20:42:55 |
Author | 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 |