Tíquete #40822

IPv4/IPv6 listen

: 2020-10-01 22:02 Última Atualização: 2020-12-06 18:52

Relator:
Dono:
(Nenhum)
Estado:
Fechado
Componente:
(Nenhum)
Marcos:
(Nenhum)
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Nenhum
Arquivo:
Nenhum

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
  • Estado Update from Aberto to Fechado

Attachment File List

No attachments

Editar

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