]
Rob Stryker reassigned JBIDE-21065:
-----------------------------------
Assignee: Rob Stryker
Server host name address should not be defaulted during server
adapter creation
-------------------------------------------------------------------------------
Key: JBIDE-21065
URL:
https://issues.jboss.org/browse/JBIDE-21065
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: server, upstream
Affects Versions: 4.3.0.Final
Reporter: Xavier Coulon
Assignee: Rob Stryker
Fix For: 4.4.0.Final
I've noticed that when I create a server adapter and I give it an IP address as the
hostname, the hostname remains the default value, ie, {{localhost}}.
This is annoying in the case where I want to connect to a VM running on my own host (eg,
a VM running Docker). In this particular case, I set the hostname at something like
{{192.168.99.100}} but it is reverted as {{localhost}} which gives {{127.0.0.1}} as the
primary IP address. As a consequence, the server adapter fails to connect to the server
since it uses the wrong IP address.
Note that the host name can be changed for good in the Server Configuration Editor
_after_ its creation.