Ticket #40822

IPv4/IPv6 listen

Open Date: 2020-10-01 22:02 Last Update: 2020-12-06 18:52

Reporter:
Owner:
(None)
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None

Details

IPv4/IPv6対応のサーバにおいて、config[:BindAddress] = nil を指定することでIPv4/IPv6の双方でlisten出来るようです。

https://osdn.net/users/mizar/pf/shogi-server/scm/commits/a38e0aa5ca899dd29f90243b707cdd2ae83ba45d

  1. --------------------------------- shogi-server ---------------------------------
  2. @@ -412,7 +412,7 @@ def main
  3. $league.dir = $topdir
  4. config = {}
  5. - config[:BindAddress] = "0.0.0.0"
  6. + config[:BindAddress] = nil
  7. config[:Port] = port
  8. config[:ServerType] = WEBrick::Daemon if $options["daemon"]
  9. config[:Logger] = $logger

Ticket History (3/3 Histories)

2020-10-01 22:02 Updated by: mizar
  • New Ticket "IPv4/IPv6 listen" created
2020-10-02 01:43 Updated by: mizar
  • Details Updated
2020-12-06 18:52 Updated by: beatles
  • Status Update from Open to Closed

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login