skip getLocalHost when spoofName is provided