Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AmanitaVerna opened this issue May 24, 2016 · 2 comments

Comments

@AmanitaVerna
Copy link

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

@s00500
Copy link
Contributor

s00500 commented Jan 2, 2021

what os are you on ? is this still an issue ? on macOS this is definitely valid, so I think this can be closed

@AmanitaVerna
Copy link
Author

on windows 10, and yes, this is still an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants