Skip to content

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 #15

@AmanitaVerna

Description

@AmanitaVerna

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."

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions