# What is a “domain” in the maximum-minimum principle?

The maximum-minimum principle says that

A harmonic function on a domain cannot attain its maximum or its minimum unless it is constant.

Here is my question:

If we restrict our attention in ${\mathbb R}^2$ or ${\mathbb R}^3$, what's the hypothesis for the domain? (bounded? closed? open?)

According to the proof of this principle, it seems that the domain is open. I could not find the context which may indicate the properties of the domain.

-

In Folland's Introduction to Partial Differential Equations, the word domain is used to mean an open set $\Omega\subset{\mathbb R}^n$, not necessarily connected, such that $\partial \Omega=\partial({\mathbb R}^n\setminus\overline{\Omega})$. That is, all the boundary points of $\Omega$ are "accessible from the outside."