Skip to content

Akka.Remote - tcp socket address reuse - default configuration #2477

@maxcherednik

Description

@maxcherednik

Due to the default setting, I was able to bind several instances to the same socket port on windows machine.

Should it be this way by default? Follow up: @Aaronontheweb

Enables SO_REUSEADDR, which determines when an ActorSystem can open

  # the specified listen port (the meaning differs between *nix and Windows)
  # Valid values are "on", "off" and "off-for-windows"
  # due to the following Windows bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4476378
  # "off-for-windows" of course means that it's "on" for all other platforms
  tcp-reuse-addr = on

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions