The equation has no solution.
Proof: First assume that $4m+3$ is a prime number $p$. By Euler's criterion we have:
$$ n^2 \equiv -1 \mod p \ \ \Rightarrow \ \ (-1)^{\frac{p-1}{2}} \equiv 1 \mod p.$$
But $\frac{p-1}{2} = 2m+1$, so $-1 = (-1)^{\frac{p-1}{2}} \equiv 1 \mod p$, contradiction with $p$ odd.
Now if $4m+3$ is composite, let $q$ any prime factor. Then $$ n^2 \equiv -1 \mod q$$ but $q$ is odd and by the first part $q \not \equiv 3 \mod 4$, so $q \equiv 1 \mod 4$. It follows that $$3 \equiv 4m+3 \equiv 1^{r} \equiv 1\mod 4$$ with $r$ the number of prime factors of $4m+3$ (with multiplicity), contradiction. $\square$