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

[management-api] Jetty should bind to specific IP instead of 0.0.0.0 #621

Closed
blackfich opened this Issue Jun 6, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@blackfich

blackfich commented Jun 6, 2017

Currently Jetty is binding to 0.0.0.0, this should be changed as some machines have more than one IP and some should not be used by Jetty

Expected Behavior

One should be able to specifiy to which IP to bind Jetty

Current Behavior

Jetty is binding by default to 0.0.0.0

Possible Solution

Add an entry in gravity.yml to specifiy the address to bind to (for instance jetty.host) Add a field with @Value (with default to 0.0.0.0for backward compatibility) inJettyConfigurationInJettyServerFactory` specify the host to bind to for the HTTP Connector

Context

We want to specify to which IP Jetty is binding to, as we have several IPs on our VMS and we do not want to bind to all of them

Your Environment

  • Version used: 1.6.1
  • Browser Name and version: FireFox
  • Operating System and version: CentOS 7

brasseld added a commit to gravitee-io/gravitee-management-rest-api that referenced this issue Jun 6, 2017

feat(jetty): customize jetty binding IP/host
Added code to specify to which IP/hostname to bind Jetty to.

fix gravitee-io/issues#621

@brasseld brasseld added this to the 1.7.0 milestone Jun 6, 2017

@brasseld brasseld self-assigned this Jun 6, 2017

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