Aniston, who co-hosted Wednesday's (22May13) programme with the comedienne, showed up unannounced at Perry's home to ask for advice from the actor, who recently joined DeGeneres as a presenter.
Referring to her former Tv comedy castmate as David - a reference to their co-star David Schwimmer, Aniston said, "I just don't know as many dumb jokes as you."
Perry scolded his old pal for turning up on his doorstep at 8am, insisting she should call first, and reminded her that they're no longer Friends, stating, "We haven't actually seen each other in a really long time, like, eight years."
Adding to the tense stand-off, Cox appeared at the door, pretending she had spent the night with Perry and then referred to her real-life best pal Aniston as Lisa - mixing her up with another castmate, Lisa Kudrow.
Cox stormed off in mock disgust as Perry pretended to hit on Aniston and the skit ended with DeGeneres crawling past Perry and her wife Portia DeRossi dashing out of his apartment as the actor screamed, "LeBlanc, get out of the fountain, man."
Matt LeBlanc was the sixth member of the Friends cast.
On Wednesday's episode of The Ellen DeGeneres Show, Aniston admitted she missed working with "Matty and Court" and the skit they filmed together made her "very nostalgic".
She added, "It's a great thing to go back to your family like that. Also, I know that people will love it."