gowut
gowut copied to clipboard
Calling NewServer with a 0.0.0.0 IP results in gowut attempting to open a browser to 0.0.0.0, which predictably fails
Code example:
this.gwuSvr = gwu.NewServer("guitest", "0.0.0.0:3434")
this.gwuSvr.AddSessCreatorName("login", "Login Window")
this.gwuSvr.AddSHandler(MySessHandler{this, nil})
this.gwuSvr.Start("login")
When Start is called, gowut opens a browser page to the ip and port that were specified in NewServer. In this case, it attempts (and fails) to connect to 0.0.0.0, because that isn't a real IP that can be connected to, it's just a way of saying "listen on all interfaces instead of just one."
what os are you on ? is this still an issue ? on macOS this is definitely valid, so I think this can be closed
on windows 10, and yes, this is still an issue