For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

getHost

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.

Since

7.6