Skip to content

v1.1.6

Compare
Choose a tag to compare
@richardwilkes richardwilkes released this 07 Feb 20:09
· 382 commits to master since this release

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.