Add command line flag to specify which network interface to listen on. The net.Listen function wants this to be a string of an IP address on an interface of the host.
Example usage to listen on the interface with IP 169.254.87.101 bound and port 5600
--interface=169.254.87.101 --bind=5600
I'd maybe like to rename --bind now, but will avoid making a breaking change for now.
Add command line flag to specify which network interface to listen on. The
net.Listen
function wants this to be a string of an IP address on an interface of the host.Example usage to listen on the interface with IP 169.254.87.101 bound and port 5600
--interface=169.254.87.101 --bind=5600
I'd maybe like to rename
--bind
now, but will avoid making a breaking change for now.116