use hostname instead of ip address