It was Barca who created the first clear opening amid a confident beginning from the visitors. To begin the transfer, Messi fell deep, playing the ball against Pedri, who then slid into Antoine Griezmann. The Frenchman, however, scuffed his shot, enabling Keylor Navas at his near post to make a simple block.
Early goals from Mehdi Taremi and Moussa Marega at the start of each half saw Porto beat Juventus 2-1 on Wednesday in their Champions League last-16 first-leg tie.
After just 63 seconds, Taremi gave Porto the lead when a defensive mix-up from the visitors gave him a quick finish. In the second half, Moussa Marega netted 19 seconds after that.
In the 82nd minute, Federico Chiesa scored what could prove to be a crucial away goal for Juventus.
On his return to his homeland, Juve forward Cristiano Ronaldo was kept quiet as the visitors failed to make an impression.
The last time the two sides met at the same level, four years ago, Juventus beat Porto home and away without conceding a goal.
But when midfielder Rodrigo Bentancur tried to play a back pass to goalkeeper Wojciech Szczesny, they gifted Porto the lead after barely a minute, not realizing that Taremi was right behind him to intercept and slot home from six yards.
When Captain Giorgio Chiellini limped off with a calf injury, Juve seemed to lack motivation and ideas and their night got worse in the 35th minute.
At the beginning of the second half, Porto was even faster off the mark when Wilson Manafa ran down the right before rolling across for Marega to turn in at the near post.
Juve coach Andrea Pirlo, shortly after the hour mark, took forward Alvaro Morata. Morata had scored six goals this season in as many Champions League appearances and after he came on, his side looked more threatening.
In the Champions League this season, Porto had not conceded a goal at home, but that run came to an end when Adrien Rabiot burst down the left and crossed for Chiesa to shoot into the top corner.
Apart from Ronaldo, Chiesa became the first Juventus player to score in a knockout game in the Champions League since Blaise Matuidi in 2018.
The second leg will be in Turin on March 9.