corda / net.corda.testing.driver / PortAllocation / nextHostAndPort

nextHostAndPort

fun nextHostAndPort(): NetworkHostAndPort

Get the next available port via nextPort and then return a NetworkHostAndPort