celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bjoern Petri <bjoern.pe...@sundevil.de>
Subject Re: [jira] [Created] (CELIX-160) ip adress in service url is fixed
Date Thu, 02 Oct 2014 05:30:45 GMT

Hi Alexander,

I just committed some code which allows us to specify the IP-Address 
directly or alternatively the name of the interface that should be used 
for retrieving the IP-Address. If none is given, than the committed code 
iterates over the found interfaces using the first IP-Address it can 

Could you do me the favor and shortly check whether this (at least) 
compiles on MacOS as well?


On 2014-10-01 17:21, Alexander Broekhuis wrote:
> If you have a chance, and are working on this, the APR code can be 
> removed.
> Perhaps it is even better to use it only via a property. The APR method
> looks at the hostname to find the address, if the system's hostname is 
> not
> in the hosts file, it won't work.
> 2014-10-01 17:06 GMT+02:00 Bjoern Petri (JIRA) <jira@apache.org>:
>> Bjoern Petri created CELIX-160:
>> ----------------------------------
>>              Summary: ip adress in service url is fixed
>>                  Key: CELIX-160
>>                  URL: https://issues.apache.org/jira/browse/CELIX-160
>>              Project: Celix
>>           Issue Type: Wish
>>             Reporter: Bjoern Petri
>>             Assignee: Bjoern Petri
>>             Priority: Trivial
>> The RSA_HTTP determines the IP adress for the service url using
>> apr_gethostname and apr_sockaddr_ip_get.
>> If running celix within docker we want to announce the host ip adress 
>> here
>> instead of the docker ip adress.
>> --
>> This message was sent by Atlassian JIRA
>> (v6.3.4#6332)

View raw message