Skip to content

Commit

Permalink
Use internal IP if specified. Else on Linux it is not matching the ex…
Browse files Browse the repository at this point in the history
…pecting interface name.

Change-Id: I62c766a3ef8dd1dac6831a5fbc986e555b14586b
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
  • Loading branch information
benoitf committed Jun 4, 2017
1 parent 55e6720 commit 9b6546c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ protected OnlineRenderingEvaluation withInternalHost(String internalHost) {
protected String getExternalAddress() {
return externalAddressProperty != null ?
externalAddressProperty :
internalAddressProperty != null ?
internalAddressProperty :
!isNullOrEmpty(gatewayAddressContainer) ?
gatewayAddressContainer :
this.internalHost;
Expand Down

0 comments on commit 9b6546c

Please sign in to comment.