Suppose $X$ is a connected separable metric space, and $X\setminus \{x\}$ has exactly two connected components for every $x\in X$.
If $X$ is locally connected, then $X\simeq \mathbb R$. This was noted in previous answers to
https://mathoverflow.net/a/319872/95718
and
https://mathoverflow.net/a/76139/95718.
My questions is, is the conclusion the same ($X$ homeomorphic to the reals $\mathbb R$) if $X$ is locally compact?