Some dogs find the act of jumping up rewarding by itself (I've got a jumper - she LOVES anything that gets her feet off the ground), so you may have to get creative to make not jumping more rewarding. Dogs want to greet us up close, like they would another dog. They can tell a lot, like how we're feeling and what we've been up to by sniffing around our mouths (and other parts...), and they like to check in on us when they haven't seen us in a while. Since dogs don't experience time the same way we do, a while can be anywhere from minutes to years. One of the things you can do to discourage jumping, then, is to get down on your dog's level so they can fulfill their need to check in on us without jumping.
When that's not practical right away, I find holding my arm straight out and using my hand as a block or raising one knee between me and my dog is effective for preventing her from jumping up. Then I can ask for an incompatible behavior, like sit or wait, which gives me time to meet the dog at her level (keeping my hand or knee in place as needed in the meantime). I've also taught my dogs to jump up and get down on cue, so I can give them an opportunity to jump when it's appropriate as well as let them know when that time is up.
For greeting others, I give reminders not to jump as we approach, and reinforce that whenever possible by stepping on her leash so she's unable to jump. Having the cue to get down is also handy for when my prevention is ineffective.
before opening the door try to calm him down, use your body to block him. Slowly back him up away from the door, wait until hes calm and relaxed before opening the door , You would have to try this multiple of times until he gets the hint, but try to stay calm and focus and besides talking to him, make a quick sound with your mouth every time you're slowing moving him away from the door . I hope it helps .