eclipse-ee4j / eclipse-ee4j/jersey
JdkHttpServerFactory always binds server to 0.0.0.0
Open
Component: containers
Priority: Minor
Type: Bug
- Dominant language
- Java
- Stars
- 730
- Forks
- 382
- PR merge metrics
- No merged PRs in 30d
Description
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]
Contributor guide
Assessment
This issue has not been assessed yet.