Is your dog overly friendly to everyone? A great way to teach your dog to stop jumping on visitors in general is to start teaching him at home. 

Doorways are exciting places for dogs since people come and go. New scents, motion, sound and lots of love and attention happens near the door.

There are several different strategies you can use to teach your dog to keep his feet and mouth off visitors.

1. Prevent the Dog from Practicing Jumping on People
While we desensitize your dog to the excitement of the doorway and train a different behaviour, we need to prevent him from practicing the unwanted uncued jumping. The more practice he gets, the better he gets at jumping and the more he associates it with the doorway location. 

a. Cue the dog to go into a crate, keep him behind a barrier or tether him to a heavy piece of furniture. 
With the crate, he needs to know how to go to crate first on cue. 
Next, teach him to go from a distance. 
Next, add some planned distractions.
Then try the process at the door with a helper posing as the visitor.
Start with placing the crate near the door and gradually move it further away to where you want it to be placed. 

b. If you have an indoor doorway close to the outside door, then a barrier might make more sense. Place the dog behind the barrier and let your visitor come in. Wait until your dog has calmed down before letting them interact. You might have to be creative with an X pen if you don't have an indoor doorway nearby. Set the pen up as a U-shape around the outside door to create an 'airlock' and have your dog on the house side of the barrier. Your visitor comes into the airlock and waits until the dog calms down. 

c. If you have a heavy piece of furniture and a dog that is small enough not to pull it, tethering your dog by a leash and harness might work. This option is not an ideal one for enthusiastic jumpers or dogs with low tolerance to frustration though, since being held back may trigger oppositional behaviours (opposition reflex). 

2. Desensitize Dog to Arrivals

a. Drop treats on the floor at the visitor's feet to direct your dog's attention downward. 
Start with delivering them one at a time fast and furious and then slow the rate down as your dog calms down. Mark and treat your dog for keeping himself on the ground (4 feet on the floor).

b. Block eye contact with your hand.
If your dog has already been taught how to nose target, he should catch on quickly to what you are doing. Practice this before your visitor comes over.
Start by walking with your dog toward the visitor and cover your dog's eyes with one hand as he moves around. 
Teach your visitors to present their hand in front of them to block the dog's eyes.
Fade that once the dog calms down. This also has the benefit of teaching the dog that hand contact is better than eye contact. If your dog enjoys back or hip rubs, then direct them to do that. This is calming to most dogs. 

c. Use Premack's Principle to recall your dog away from the person.
You must have a reliable recall with distractions for this to work.
You can start with your dog on leash if you need to help your dog turn back to you. 

Practice sending your dog to the door and recalling before a visitor comes. 
Send your dog to the door when the visitor is still outside and call him away.
Then send your dog to the visitor once she comes in. At first let your dog just get to the person, then call him away.
Each time you send your dog, his excitement should decline. If that happens, let him interact a little longer each time. Try to call before he has a chance to jump.
By pairing the greeting visitor with the recall, you strengthen the recall. Sending multiple times with each person also desensitizes your dog to the people. This calms the dog down as well.

d. Have the visitor come further into the house. 
Moving the visitor away from the doorway reduces the excitement for everyone. This calms the situation down.
Have the visitor avoid eye contact. It's best if everyone has something else to look at, like an object of interest (computer or book). That takes the focus off the dog. 

3. Train an Incompatible behaviour.
This means think of something you want the dog to do that interferes with the jumping. 

a. Some examples are to ask the dog to run to her bed and lay down. She can't lay down and jump at the same time. 
Like before, the dog needs to know the behaviour well and with distractions before starting to use this near the doorway. 
Practice sending your dog to his bed when you knock or ring the bell. 
Have a helper practice knowing or ringing the bell. Send him to his bed. 
Then practice opening the door. 
The first few times with a real helper visitor, you may need another helper to stay with the dog and reward frequently until he is released from the mat (or you can do that too if the visitor outside can hear your instructions to come in when you are ready). 

b. For dogs that get mouthy, like golden retrievers and labradors, put a toy in their mouth. This fills the need to grab and hold something. That way, they won't ned to jump up and grab visitors hands or wrists. 
Keep a few toys near the door for this purpose. After several practices of this, most dogs will start looking for their toy when they hear the knock to doorbell. They will learn to greet people with a toy in their mouth.

c. Teach your dog to "Go Say Hi".
Ask your visitor to put out his hand palm forward and cue your dog to nose target it and come back to you. Reward when he comes back to you. This keep meetings brief while the dog calms down. (similar to Premark Recalls above) Your dog can't nose target a lowered hand and jump at the same time. 

4. Put the Jumping on Cue
Teach your dog to jump up on cue. Whether he jumps all 4 feet in the air or leans front paws on the visitor, this can work. 
It gives the dog an outlet to do the behaviour, then you can phase out when you cue it. Combining this with the person moving into the house works well to calm the dog quickly. 
The jumping behaviour needs to be under good stimulus control before you start using it with visitors so it is considered an advanced approach. 
Check out my two 'stimulus control' videos.

5. Elevate Your Dog
Near the doorway but far enough away that your dog cannot touch the visitor, place your dog on a raised platform like the top of a crate or grooming table, or even a stable stool.
This fills the need to be closer to the visitor's face for greeting. Because the distance is so far, he will naturally stop jumping. 
Once your dog is focussed on you, he may also start to offer other behaviours like a sit or down.
At the beginning, feed a high rate of reinforcement to focus your dog on you. Once the person is in the house, cue your dog to jump off and 'go say hi', calling away as necessary.

Here is a video that shows you the 5 strategies. 

I don't tend to cue a dog to sit or down near a visitor unless he is facing the handler. I find that most dogs while facing the visitor will use the sit or down to launch themselves at the visitor.