mirror of
https://github.com/corda/corda.git
synced 2025-06-23 09:25:36 +00:00
Change network config to listen to adapter publicly
This commit is contained in:
@ -264,7 +264,7 @@ class ArtemisMessagingService(val directory: Path, val myHostPort: HostAndPort)
|
|||||||
// We will be talking to our server purely in memory.
|
// We will be talking to our server purely in memory.
|
||||||
config.setAcceptorConfigurations(
|
config.setAcceptorConfigurations(
|
||||||
setOf(
|
setOf(
|
||||||
tcpTransport(ConnectionDirection.INBOUND, "localhost", hp.port),
|
tcpTransport(ConnectionDirection.INBOUND, "0.0.0.0", hp.port),
|
||||||
TransportConfiguration(InVMAcceptorFactory::class.java.name)
|
TransportConfiguration(InVMAcceptorFactory::class.java.name)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user