I generally prefer to be explicit... but `!host || !port` will do fine.