gradle
8.3

# getHost

@Incubating
@Optional
@Input
abstract fun getHost(): Property<String>

Host address to listen on or connect to when debug is enabled. By default, no host is set.

When run in server mode, the process listens on the loopback address on Java 9+ and all interfaces on Java 8 and below by default. Setting host to `*` will make the process listen on all network interfaces. This is not supported on Java 8 and below. Setting host to anything else will make the process listen on that address.

When run in client mode, the process attempts to connect to the given host and getPort.