port

fun port(port: Int): ServerConfig

Port on which to start a read-write Postgres wire-compatible server.

Default is 0, to have the server choose an available port. Set to -1 to not start a read-write server.


var port: Int