The home side Middlesbrough were in control leading 1-0 in the Championship. But Queens Park Rangers turned the game around and won 3-2.
Middlesbrough started the match well and took the lead early when Uche Ikpeazu scored after 7 minutes, making it 0-1.
1-1 came through an own-goal in the 48th minute.
Queens Park Rangers’ Moses Odubajo was sent off in the 50th minute.
With more than 30 minutes on the clock, Queens Park Rangers’s Lyndon Dykes scored and gave Queens Park Rangers the lead.
Matt Crooks equalised for Middlesbrough in the 72nd minute.
Chris Willock scored the decider, in the 76th minute. The 3-2 goal was the last one of the game.
Middlesbrough have four points while Queens Park Rangers have seven, as both teams have played three games.
In the next round, on Saturday at 3pm, Middlesboro will face Derby away at Pride Park Stadium, while Queens Park will play on the same day at home to Barnsley at 12:30 pm.