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

gretty.baseURI returns 0.0.0.0:8080 instead of localhost:8080 for Jetty9 server #160

Closed
jseminck opened this issue Apr 9, 2015 · 8 comments
Assignees

Comments

@jseminck
Copy link

jseminck commented Apr 9, 2015

Hello,

I'm writing some IntegrationTests and I noticed that the gretty.baseURI variable changed from returning http://localhost:8080 when using tomcat7 to http://0.0.0.0:8080 when using jetty9.

Using open("/") correctly returns http://localhost:8080/

Not sure if this is intended? Or a bug? Or related to configuration on my side? I couldn't find any similar topics on this problem, hence this post.

Thanks,
Joachim

@akhikhl
Copy link
Owner

akhikhl commented Apr 10, 2015

I'll have a look at the problem.

@akhikhl
Copy link
Owner

akhikhl commented Apr 10, 2015

I confirm, it is localhost under tomcat7 and 0.0.0.0 under jetty9. Looking further...

@akhikhl akhikhl self-assigned this Apr 10, 2015
@akhikhl
Copy link
Owner

akhikhl commented Apr 10, 2015

Fixed in Gretty 1.2.1-SNAPSHOT.
Release 1.2.1 is coming soon.

@akhikhl
Copy link
Owner

akhikhl commented Apr 12, 2015

Gretty release 1.2.1 is out, please test.

@jseminck
Copy link
Author

Hello,

This is working correctly.

Thanks for the quick response!
Joachim

@akhikhl
Copy link
Owner

akhikhl commented Apr 13, 2015

Not working correctly? Could you, please, give more details?

@jseminck
Copy link
Author

Woops, sorry! Monday morning... :)
Edited response: it IS working correctly.

@akhikhl
Copy link
Owner

akhikhl commented Apr 13, 2015

I'm happy to hear that 👍

@akhikhl akhikhl closed this as completed Apr 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants