4 hours ago, by
Balarka Sen E.g., take a very disconnected open set $U$ of $\Bbb R$ (maybe a thickening of the cantor set?), send $\Bbb R - U$ to $\Bbb R$ by mapping each closed interval component in it homeomorphically to $[0, 1]$ and the two unbounded components to $0$ and $1$ respectively. That shouldn't be open.