Jelly Roll knows music can bring people together from all walks of life, and he proved it Saturday night.

The country artist who overcame a troubled past performed a headlining gig for a lucky few hundred guests on behalf of SiriusXM, live from Stephen Talkhouse in the Hamptons on Saturday night. Jelly Roll, whose full name is Jason Bradley DeFord, mingled with the stars who turned up in droves to see his show, including Howard Stern, Bradley Cooper, Jon Hamm and Jimmy Fallon.

JELLY ROLL ‘HAD A LOT OF TIME’ TO WRITE SONGS IN PRISON BEFORE FINDING MASSIVE SUCCESS IN COUNTRY MUSIC

Jelly Roll wears red ombre vest at concert in Hamptons

Country singer Jelly Roll performed at an intimate yet star-studded show in the Hamptons on Saturday. (Cindy Ord)

The "Son of a Sinner" singer was introduced to the stage by the SmartLess hosts, Jason Bateman, Will Arnett and Sean Hayes, who sat down for a live podcast taping with Howard Stern prior to the show.

"I never would have thought my fat, white-trash a-- would be in the Hamptons," Jelly Roll told the audience, according to Page Six. "This is an incredible scene."

JELLY ROLL CRIES THINKING OF BETTE MIDLER SONG THAT HIS MOM SAID TO PLAY AT HER FUNERAL

He performed a few of his hits, including "I'm not OK" and "Need a Favor," before belting out a couple of cover songs, including "Good Riddance," "Friends in Low Places" and "(Sittin' On) the Dock of the Bay."

Jimmy Fallon, Jon Hamm and Bradley Cooper watch Jelly Roll perform in the hamptons.

Jimmy Fallon, Jon Hamm and Bradley Cooper stopped in to watch Jelly Roll perform in the Hamptons. (Getty Images)

Country singer Jelly Roll wears backwards red hat on stage.

Jelly Roll never imagined he'd be playing in the Hamptons. (Cindy Ord)

During the show, Jelly Roll caught a glimpse of Howard Stern and his wife, Beth Stern, in the crowd and gave them a special shout-out.

He said being on Stern’s show was "one of the coolest things of my life. I can check it off my bucket list. It was f---ing incredible!"

Jelly Roll added, "Just like everybody else my age, I have watched [Stern’s 1997 biopic] ‘Private Parts’ about a thousand times. I think he is the greatest ever. … I love you. Thank you for your time and energy always."

The "Wild Ones" singer appeared on Stern's talk show in June where he discussed his history in the prison system, selling drugs, and cried thinking about the Bette Midler song his mother asked to play at her funeral.

LIKE WHAT YOU’RE READING? CLICK HERE FOR MORE ENTERTAINMENT NEWS

"By the way, I love this story, too," Stern told Jelly Roll. "That song, 'Save Me,' was inspired by the song by Bette Midler, ‘The Rose,’ because you and your mom used to listen all the time."

Howard Stern and Jelly Roll chat with SmartLess podcast hosts.

Howard Stern joined the SmartLess podcast hosts (Jason Bateman, Will Arnett and Sean Hayes) before they introduced Jelly Roll. (Getty Images)

Stern asked if Jelly Roll had ever met Midler, to which he responded, "Oh goodness no. If I meet her or James Taylor, I'm going to cry on the spot." 

"This is a beautiful song, ‘The Rose,'" Stern said.

CLICK HERE TO SIGN UP FOR THE ENTERTAINMENT NEWSLETTER

"My mother would play this. Keep in mind she was a really dark woman at the time. She would say, ‘Play this at my funeral,'" Jelly Roll recalled. "She would sit at the kitchen table … I still get emotional listening to it. And she would smoke these cigarettes, and she would just be like, ‘Just remember to play this when I die.’"

Actor Jon Hamm smiles next to Chad Smith in the Hamptons

Jon Hamm linked up with famed Red Hot Chili Peppers drummer Chad Smith at the star-studded affair. (Getty Images)

He added, "So, the first tattoo I ever got was a rose on my back with her name." 

"How does a mother say to her son, ‘Please play this at my funeral?’" Howard wondered.

"That's coming from a woman who didn't think she was going to live, and I know how that feels," Jelly Roll said. "I know how it feels to think you're not going to live."

CLICK HERE TO GET THE FOX NEWS APP