[jbosstools-issues] [JBoss JIRA] (JBIDE-21065) Server host name address should not be resolved after server adapter creation

Xavier Coulon (JIRA) issues at jboss.org
Mon Nov 9 09:08:00 EST 2015


     [ https://issues.jboss.org/browse/JBIDE-21065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xavier Coulon updated JBIDE-21065:
----------------------------------
    Description: 
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.

  was:
I've noticed that when I create a server adapter and I give it an IP address as the hostname, the IP address is resolved and the host name becomes the machine name on the network (eg: "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 resolved 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.



> Server host name address should not be resolved after server adapter creation
> -----------------------------------------------------------------------------
>
>                 Key: JBIDE-21065
>                 URL: https://issues.jboss.org/browse/JBIDE-21065
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 4.3.0.Final
>            Reporter: Xavier Coulon
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list