Specify the IP address the local hub should bind to. This can be an IPv4 or IPv6 address, or one of the special addresses "any" or "loopback".
When "any" or "loopback" is used, the hub will automatically detect if IPv6 is supported and prefer that.
Type: | string |
---|---|
Default: | any |
Since: | 0.1.2 |
Example: |
To listen to a specific IP:
To listen to any IPv4 address:
Or to listen to any address including IPv6 (if supported): |