You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Through configuration we need to specify a specific network interface to bind. Many machines will have multiple interfaces and it may be appropriate that only a particular interface should be bound to receive incoming gossip connections.
The configuration should allow the specification of a hostname and port to bind to. The hostname is a string that must be parseable into a Java InetAddress. The port must be an integer value.
Add the new configuration to SocketConfiguration. socket.bindInterfaceHostname and socket.bindInterfacePort.
Acceptance Criteria
Create SocketFactory unit tests which validates the configuration based successful binding of all 3 local host names 127.0.0.1 (IPV4), localhost (Domain Name) , and 0:0:0:0:0:0:0:1 or ::1 (IPV6) instead of the default 0.0.0.0 which is all interfaces.
Manually test a local network with the configuration set.
The text was updated successfully, but these errors were encountered:
Background
Through configuration we need to specify a specific network interface to bind. Many machines will have multiple interfaces and it may be appropriate that only a particular interface should be bound to receive incoming gossip connections.
The configuration should allow the specification of a
hostname
andport
to bind to. Thehostname
is a string that must be parseable into a JavaInetAddress
. Theport
must be an integer value.Add the new configuration to
SocketConfiguration
.socket.bindInterfaceHostname
andsocket.bindInterfacePort
.Acceptance Criteria
SocketFactory
unit tests which validates the configuration based successful binding of all 3 local host names127.0.0.1
(IPV4),localhost
(Domain Name) , and0:0:0:0:0:0:0:1
or::1
(IPV6) instead of the default0.0.0.0
which is all interfaces.The text was updated successfully, but these errors were encountered: