Fix unreliable spec

Sometimes "localhost" resolves to more than one address