Skip to content

Commit 9b6546c

Browse files
committed
Use internal IP if specified. Else on Linux it is not matching the expecting interface name.
Change-Id: I62c766a3ef8dd1dac6831a5fbc986e555b14586b Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
1 parent 55e6720 commit 9b6546c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

plugins/plugin-docker/che-plugin-docker-machine/src/main/java/org/eclipse/che/plugin/docker/machine/CustomServerEvaluationStrategy.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ protected OnlineRenderingEvaluation withInternalHost(String internalHost) {
205205
protected String getExternalAddress() {
206206
return externalAddressProperty != null ?
207207
externalAddressProperty :
208+
internalAddressProperty != null ?
209+
internalAddressProperty :
208210
!isNullOrEmpty(gatewayAddressContainer) ?
209211
gatewayAddressContainer :
210212
this.internalHost;

0 commit comments

Comments
 (0)