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

JdkHttpServerFactory always binds server to 0.0.0.0 #3390

Open
jerseyrobot opened this issue Jun 2, 2016 · 6 comments
Open

JdkHttpServerFactory always binds server to 0.0.0.0 #3390

jerseyrobot opened this issue Jun 2, 2016 · 6 comments

Comments

@jerseyrobot
Copy link
Contributor

Observed:
The JdkHttpServerFactory ignores the host name/IP address in the provided URI and constructs an HttpServer instance which is always bound to "0.0.0.0". We have a use case where this is not acceptable, however, the API provides no way to customize this behavior.

Expected:
The JdkHttpServerFactory should respect the host name/IP address in the provided URI and bind the constructed HttpServer instance accordingly.

Environment

Any

Affected Versions

[2.23]

@jerseyrobot
Copy link
Contributor Author

@glassfishrobot Commented
Reported by lgimagine

@jerseyrobot
Copy link
Contributor Author

@glassfishrobot Commented
This issue was imported from java.net JIRA JERSEY-3118

@jerseyrobot
Copy link
Contributor Author

@jayanthi-thoby
Copy link

Is this issue resolved? i still see this issue

@senivam
Copy link
Contributor

senivam commented May 9, 2023

@jayanthi-thoby which version of Jersey do you use and could you please provide some reproducer?

@senivam
Copy link
Contributor

senivam commented May 9, 2023

this is referred as fixed by #5163 and basically, it fixes #3383 which is a duplicate to this issue and was released as part of 2.38.

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