update server properties to set hostname to ip