OSDN Git Service

* [shogi-server] - shogi-server: any bind addresses, ruby attempts to listen on both...
[shogi-server/shogi-server.git] / shogi-server
index c0f64f8..c20dba8 100755 (executable)
@@ -372,6 +372,7 @@ def main
   $league.dir = $topdir
 
   config = {}
   $league.dir = $topdir
 
   config = {}
+  config[:BindAddress] = "0.0.0.0"
   config[:Port]       = port
   config[:ServerType] = WEBrick::Daemon if $options["daemon"]
   config[:Logger]     = $logger
   config[:Port]       = port
   config[:ServerType] = WEBrick::Daemon if $options["daemon"]
   config[:Logger]     = $logger