spring-cloud / spring-cloud-static

Static resources for the Spring Cloud website
http://cloud.spring.io/spring-cloud-static/
26 stars 25 forks source link

Ignore Network Interfaces Shows Wrong Context #7

Closed kpb closed 6 years ago

kpb commented 6 years ago

Version: Dalston.SR5.

https://cloud.spring.io/spring-cloud-static/Dalston.SR5/single/spring-cloud.html#ignore-network-interfaces

Suggests using application.yml to set network whitelist:

spring:
  cloud:
    inetutils:
      preferredNetworks:
        - 192.168
        - 10.0

This doesn't work for me. The inetutils settings must be done in the bootstrap context (ENV var, java system property, or bootstrap.yml), not the application context.

ryanjbaxter commented 6 years ago

Can you open an issue in this repo? https://github.com/spring-cloud/spring-cloud-commons That portion of the documentation is coming from that repo.

kpb commented 6 years ago

Done and thanks. https://github.com/spring-cloud/spring-cloud-commons/issues/359