support $HOST / $PORT if -config not provided