mirror of
https://github.com/corda/corda.git
synced 2025-06-22 17:09:00 +00:00
[CORDA-1136] Update startup message of P2P address and port (#2698)
This commit is contained in:
@ -167,7 +167,7 @@ open class Node(configuration: NodeConfiguration,
|
|||||||
val advertisedAddress = info.addresses[0]
|
val advertisedAddress = info.addresses[0]
|
||||||
bridgeControlListener = BridgeControlListener(configuration, serverAddress, networkParameters.maxMessageSize)
|
bridgeControlListener = BridgeControlListener(configuration, serverAddress, networkParameters.maxMessageSize)
|
||||||
|
|
||||||
printBasicNodeInfo("Incoming connection address", advertisedAddress.toString())
|
printBasicNodeInfo("Advertised P2P messaging addresses", info.addresses.joinToString())
|
||||||
rpcServerAddresses?.let {
|
rpcServerAddresses?.let {
|
||||||
rpcMessagingClient = RPCMessagingClient(configuration.rpcOptions.sslConfig, it.admin, networkParameters.maxMessageSize)
|
rpcMessagingClient = RPCMessagingClient(configuration.rpcOptions.sslConfig, it.admin, networkParameters.maxMessageSize)
|
||||||
}
|
}
|
||||||
|
@ -120,7 +120,7 @@ class ArtemisMessagingServer(private val config: NodeConfiguration,
|
|||||||
}
|
}
|
||||||
// Config driven switch between legacy CORE bridges and the newer AMQP protocol bridges.
|
// Config driven switch between legacy CORE bridges and the newer AMQP protocol bridges.
|
||||||
activeMQServer.start()
|
activeMQServer.start()
|
||||||
Node.printBasicNodeInfo("Listening on port", p2pPort.toString())
|
log.info("P2P messaging server listening on port $p2pPort")
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun createArtemisConfig() = SecureArtemisConfiguration().apply {
|
private fun createArtemisConfig() = SecureArtemisConfiguration().apply {
|
||||||
|
Reference in New Issue
Block a user