PHILADELPHIA -- Bryce Harper threw his helmet off while rounding the bases, thrust his arms in the air and screamed as teammates stormed out of the dugout to mob him.
That's what Philadelphia has been waiting for from its $330 million man.
Harper hit a two-run double off Dodgers closer Kenley Jansen with one out in the bottom of the ninth -- after pinch hitter Matt Beaty smacked a three-run homer off Phillies closer Hector Neris in the top half -- rallying Philadelphia to a 9-8 win over Los Angeles on Tuesday night.
"That's what baseball is all about,'' said Harper, who now has nine career walk-off hits, the second most in MLB since he debuted in 2012. "Against one of the best closers, it's always fun.''
Pinch hitter Andrew Knapp hit a double with one out, after Adam Haseley's grounder nailed Jansen's right foot near the ankle and rolled to first base. Cesar Hernandez followed with a single, and Scott Kingery's bloop single to center scored Knapp to get the Phillies within a run. Harper then ripped a ball to the gap that bounced off A.J. Pollock's glove and went to the wall to win it.
"That was a huge moment for Bryce,'' Phillies manager Gabe Kapler said. "You could see how important that was for him.''
The Phillies rebounded from a 16-2 loss in the opener of a four-game series against the two-time defending National League champions.
Harper hit a three-run homer and had five RBIs, which ties a career high. Brad Miller and Kingery also connected for the Phillies.
Ranger Suarez (1-0) got two outs for the win.
Neris was ejected after hitting pinch hitter David Freese in the back with the next pitch after Beaty homered, and Kapler also was tossed.
Jansen (3-3) has four blown saves in 24 tries. He was limping in the clubhouse after the game.
"I should've come out of the game,'' Jansen said.
Kingery drove his 13th homer out to left to give the Phillies a 1-0 lead in the first. Muncy crushed his 25th homer on an 0-2 pitch in the second to tie it at 1.
Harper then blasted his 17th homer to deep center with two outs to make it 5-1.
Bellinger lined a two-run shot in the fourth, and Pollock connected one batter later to cut it to 6-4. Pederson launched his 21st homer in the fifth.
The Dodgers lost despite five players hitting homers for the second time in franchise history, according to STATS. The other time was May 14, 1961, against the Chicago Cubs.
Dodgers: Walker Buehler gave up six runs -- two earned -- and four hits in six innings.
Phillies: Vince Velasquez gave up five runs -- four earned -- and five hits, striking out seven in 4⅔ innings.
Phillies third baseman Maikel Franco wasn't in the starting lineup because he didn't run hard down the line on a grounder to third bases with two outs and the bases loaded during Monday night's 16-2 loss. The throw was wide but Franco was still out.
Kapler wouldn't call it a "benching'' and added that Franco said he didn't run hard because of a groin injury, but his explanation made it clear it was disciplinary. Kapler hasn't sat a player for lack of hustle until now and has heard plenty of criticism from media and fans for not doing it.
"Taking a player out of the lineup in a punitive way is not my natural way of handling these type of situations,'' Kapler said. "In this particular situation, I thought it was critical to address in part because right after some of the other incidents that we've had.''
Franco grounded out as a pinch hitter in the sixth.
Phillies: LF Jay Bruce left in the third inning with a right oblique strain. ... SS Jean Segura didn't start because of a heel contusion. ... RHP Edubray Ramos was placed on the 10-day injury list with a right shoulder impingement, and LHP Austin Davis was recalled from Triple-A Lehigh Valley. ... RHP Juan Nicasio was activated from the 10-day IL, and RHP Yacksel Rios was optioned to Triple-A.
The Associated Press contributed to this report.
Everything you need to know about MLB's sign-stealing scandal
From MLB's punishments to managerial changes by the Astros and Red Sox, here are answers to all your questions.
Red Sox: Alex Cora admitted to wrongdoing on Astros
Red Sox officials said Wednesday that fired manager Alex Cora admitted to wrongdoing while with the Astros.
Sources: Mets assessing manager Carlos Beltran after Astros fallout
The Mets are assessing the situation concerning new manager Carlos Beltran's involvement in the Astros' sign-stealing scandal of 2017, sources told ESPN.
Kennedy: Parting ways with Cora was a mutual decision
Red Sox Chairman Thomas C. Werner and President Sam Kennedy discuss the Red Sox parting ways with Alex Cora, saying the decision was an easy one for both the team and for Cora.
Teixeira: Mets have no choice but to fire Beltran
Mark Teixeira explains that Carlos Beltran wasn't punished for his role in the Astros' sign stealing because he retired after the World Series, but Teixeira adds that the Mets have to fire him as their manager.
Teixeira sides with CC: Yanks were cheated
Mark Teixeira proclaims that every team that lost to the Astros in the playoffs and the regular season were cheated.