Jos Buttler paid tribute to an "outstanding bowling performance" from his England team that allowed them to push Bangladesh all the way despite scoring just 117 on Sunday.
England failed to build on a strong power play after being put in to bat first in Dhaka, with Mehidy Hasan taking 4-12 as Bangladesh seized control.
The modest target was eventually passed by the hosts with four wickets and seven balls to spare, seeing Bangladesh win the three-match series ahead of Tuesday's final encounter.
But Buttler was impressed with the way his team stayed in the match as Jofra Archer took three wickets for just 13 runs in four overs. There was also a first wicket for T20I debutant Rehan Ahmed.
"It was an outstanding bowling performance, creating pressure and defending a low score," captain Buttler said. "I'm proud of everyone's efforts."
Winning moment of 2nd T20i match | Bangladesh vs England#BCB | #Cricket | #BANvENG pic.twitter.com/4do9M2mYwx— Bangladesh Cricket (@BCBtigers) March 12, 2023
A difficult pitch contributed to the low-scoring affair, although England were 50-1 through six overs.
Phil Salt quickly departed in the seventh over, having scored 25 off 19, and only Ben Duckett managed to dig in thereafter in scoring 28 off 28.
Buttler, who was out for four, said: "No batter ever wants to get out, but it's a tough wicket to start your innings on.
"We needed someone to stick with Ben Duckett."
The visiting skipper added: "It was a different game of T20. Credit to Bangladesh for out-playing us."
Opposite number Shakib Al Hasan said: "They had a very good start, but we kept our nerve in a very good team effort. In a tricky game like this, it was important to keep our nerve."