eclipse-ee4j / eclipse-ee4j/jersey

JdkHttpServerFactory always binds server to 0.0.0.0

Open
#3,390 6 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.