host

@get:Internal
abstract val host: Property<String>(source)

Specify which IP addresses the server should listen on.

Set this to 0.0.0.0 to listen on all addresses, including LAN and public addresses.

Example

vite {
server {
host = "localhost"
}
}

External resources