Change network config to listen to adapter publicly

This commit is contained in:
Richard 'ragmondo' Green 2016-02-05 11:59:50 +00:00
parent a06d4d23bd
commit 75a542f79d

View File

@ -264,7 +264,7 @@ class ArtemisMessagingService(val directory: Path, val myHostPort: HostAndPort)
// We will be talking to our server purely in memory.
config.setAcceptorConfigurations(
setOf(
tcpTransport(ConnectionDirection.INBOUND, "localhost", hp.port),
tcpTransport(ConnectionDirection.INBOUND, "0.0.0.0", hp.port),
TransportConfiguration(InVMAcceptorFactory::class.java.name)
)
)