
I currently have the same problem with my 15 week boy
He mouths more than any pup I've ever owned; even his breeder described him as nippy. He is really excitable and just can't control himself at times.
I find staying calm really helps raising my voice would definitely excite him more. I also find walking away really does work, although it's is not always easy with him nipping at the backs of your legs, he hates being ignored so does get the message. My children turn their backs and cross their arms when he starts which also works well. I also try heading it off as much as possible I find if I ask him to sit he is much less likely to nip and offering him a treat before he nips often diffuses it. If he really gets excited I find a short time out in another room really helpful, it gives us both time to calm down.
My boy has improved a lot since we picked him up and it is only a real problem when he is over excited now. Some times you can tell he is struggling not to bite, he'll have his mouth open and you can see him battling the desire to nip, most of the time he now manages not to
Puppies want to please us it's just harder for some than others. Try and be patient he will get over this with time. As long as he knows what is expected of him, he will eventually make the correct choices.
A large glass of wine in the evenings may help while he figures it out.
(for you not the dog)