Is there an open subspace of a locally compact space that is not locally compact?

423 Views Asked by At

The definition used here is:

A space $X$ is locally compact, if $\forall x\in X$, there exists a compact neighborhood.

I want to find an example that an open subspace of a locally compact space is not locally compact. I examined the one-point compactification of $\mathbb{Q}$, but didn't find such examples.

Did I miss something? Or no such examples?