v1.1.6
When using web.Server
, if you omit the port in the WebServer.Addr
field and specify a list of port numbers in the new Ports
field, each port will be tried in sequence until one can be listened upon or the it reaches the end of the list. For example, setting WebServer.Addr
to 127.0.0.1
and Ports
to {54321, 0}
would result in first port 54321 being tried, and if that failed, it would then use a free port on the system.