We shall show that the given expression $n^2 + 9n + 14 =(n+2)(n+7)$ is a perfect square only for the case $\color{blue}{n=2}$ where $n\in\mathbb{N}$
Case 1
If both of these factors are squares, we only have $4$ and $9$ as squares which differ by $5$.
Case 2
If both of these factors are not perfect squares, then noting that $5 | (n+2,n+7)$, they are either coprime (in which case we go back to Case 1) or the only distributed factor among them is $5$. One have them has only one $5$, the other has $5^{2k+1}$, i.e. an odd number of $5$'s so as to make a complete square. So we can write one of them as $ 5^{2k+1}q^2$ and the other one as $5r^2$. Clearly, for the difference between them to be $5$, we will need $5^{2k}q^2 - r^2 = 1$, i.e. $(5^kq)^2 - r^2 = 1$ which is not possible since the difference between no 2 squares is 1 (unless one of them is zero)
Summary
We have shown that the expression $n^2 + 9n + 14 = (n+2)(n+7)$ is a perfect square only for the case $\color{blue}{n=2}$. Of course, when considering integers, you can also take $\color{blue}{n = -11}$ and get the same answer.
The other trivial values (as pointed out by TonyK) are $\color{blue}{n = -2}$ and $\color{blue}{n = -7}$