For many Linux services, this can be an unstable configuration.   Better to use 
        ifconfig eth0
to identify the configured IP address and add that entry to /etc/hosts.

Some DHCP client packages will do this automatically, since the IP can change 
with every reboot.

— David


On May 26, 2015, at 1:21 PM, Davide Giannella <[email protected]> wrote:

> On 22/05/2015 10:22, Davide Giannella wrote:
>> ...
>> 
>> I looked up the ports drill should be using that I know of: 31010 and
>> 2181 but both are free to be taken: `sudo lsof -i TCP:${PORT}`.
>> 
> 
> Solved it. Adding the enquired hostname to /etc/host as 127.0.0.1 did
> the trick.
> 
> Cheers
> Davide
> 
> 

Reply via email to