issue 11 and hostname in chatservice fixed