Use public_hostname instead of ip in gear registry