Nabil Ghilas was once more the hero as Porto secured a 2-2 draw at Napoli to reach the quarter-finals of the UEFA Europa League.
Leading 1-0 from the first leg thanks to Jackson Martinez's goal, Napoli levelled Thursday's tie through Goran Pandev's first-half strike at Stadio San Paolo.
The hosts piled on the pressure and spurned several chances in search of a crucial second goal.
And Napoli were harshly punished by substitute Ghilas on the break in the 69th minute, with the Algeria striker having also scored the equaliser in a 3-3 draw against Eintracht Frankfurt that sent Porto into the last 16 on away goals.
Ricardo Quaresma then put the tie seemingly beyond doubt with a superb strike 14 minutes from time before Duvan Zapata netted a late equaliser to level on the night, but Porto progressed with a 3-2 aggregate victory that boosts interim coach Luis Castro's hopes of getting the role on a permanent basis.
Napoli head coach Rafael Benitez had described the tie as "like a final" in the build-up and his side rose to the occasion in the first half to lead thanks to Pandev's calm finish.
But Porto's quick turnaround in the second half ended the Spaniard's hopes of winning the Europa League for the second straight year, following his triumph with Chelsea in the 2013 final.
Napoli began the match at a quick tempo and created two chances in the opening 10 minutes. Dries Mertens was first denied by Fernando's fine last-ditch tackle, before Lorenzo Insigne stung the palms of Porto goalkeeper Fabiano.
Benitez's men continued to control play and full-back Henrique flashed a half-volley across the face of goal after quarter of an hour.
And Napoli's early pressure paid dividends in the 21st minute, as Benitez's men deservedly levelled the tie on aggregate.
Gonzalo Higuain held the ball up on the edge of the area before his neat throughball found Pandev's clever run into the box and the forward provided a delicate finish past Fabiano.
Porto sought an equaliser, but it took 33 minutes for the visitors to threaten Pepe Reina's goal, when Quaresma's corner was headed wide at the back post by Martinez.
The lively Insigne then threatened to put Napoli ahead as he cut inside Danilo from the left and flashed a shot wide of the near post.
The diminutive forward went close again early in the second half, but his downward header at the back post was expertly saved by Fabiano at point-blank range.
Porto had offered little going forward, yet nearly snatched a goal in the 57th minute when Quaresma's free-kick was glanced narrowly wide by Carlos Eduardo.
Napoli then had two good chances to take the lead in the tie through Higuain and Mertens before their wastefulness was duly punished.
First, Ghilas – who had replaced Silvestre Varela - sprung the offside trap to receive Fernando's superb throughball and keep his composure to slot firmly past Reina.
And, with just under 15 minutes remaining, Quaresma weaved his way through the defence before unleashing into the roof of Reina's goal.
Napoli clinched a draw on the night in injury time when Jose Callejon's ball across the six-yard box was tapped home by Zapata, but it was too little, too late for the hosts.
|Coach: Rafael Benítez|
for G. Pandev 68'
for G. Higuaín 79'
for D. Mertens 83'
|Sterling hails Guardiola´s role in goalscoring form|
|Champions League Matchday Two: Madrid look for first win in Dortmund|
|Smalling confident Rooney will bounce back|
|Vardy fears ´permanent stain against my name´ following casino incident|
|Brave Wilshere will reap rewards of loan move - Howe|
|MLS Review: Sounders surprise Galaxy, Kamara double sinks New England|
|Walcott a special case - Wenger|
|Guardiola striving for more after perfect 10|
|Chelsea risk another mid-table finish, admits Conte|
|Montella feels AC Milan lacked courage|
|Robben speaks out on injury fears|
|Fiorentina 0 AC Milan 0: Ilicic misses penalty on Montella´s return|
|Gisdol replaces Labbadia at Hamburg|
|Ibrahimovic threatened me over Pogba deal - Raiola|
|Balotelli could make Nice return against Krasnodar|
|Southampton deserved to win – Bilic|
|Podolski takes aim at Mourinho over Schweinsteiger treatment|
|Atletico midfielder Augusto suffers ACL injury|
|Sagna: More to Aguero than goals|
|Errors are urgent matter for Schalke - Weinzierl|
|Puel delighted with sublime Southampton second half|
|Simeone praises ´decisive´ Gameiro|
|Noble: West Ham can´t get any worse|
|Pjanic: I will play wherever Allegri needs me|
|West Ham 0 Southampton 3: Defensive woes pile pressure on Bilic|
|Kondogbia makes the same mistakes often – De Boer|
|Gray backed by Dyche after ban for abusive social media posts|
|Gabriel needs time to get used to Serie A - Ausilio|
|Atletico Madrid´s Gimenez and Augusto doubts for Bayern Munich clash|
|Atletico Madrid 1 Deportivo La Coruna 0: Griezmann downs 10-man Depor|
|Angry Spalletti slams Roma players´ attitude|
|Liverpool have unbelievable quality - Milner|
|Simeone´s son Giovanni scores first Serie A goal|
|Ivanovic: Chelsea let Conte down|
|Inter 1 Bologna 1: Battling Bologna end Inter streak|
|Guardiola: Top-four finish very tough for Man City|
|Rodgers expecting tough test against City and Aguero|
|Zamparini admits Balotelli interested Palermo|
|Former Swansea, Arsenal great Mel Charles dies|
|Asamoah, Rugani ruled out for up to seven weeks|
|Totti reaches 250 Serie A goals in Roma defeat|
|Alves makes LaLiga history as Valencia see off Leganes|
|Guardiola rues De Bruyne injury as Man City await scan|
|Las Palmas draw could prove costly, admits Morata|
|Gabriel explains choosing Inter over Juventus|
|Hamburg dismiss Labbadia|
|West Ham players expect Payet´s free-kick magic - Antonio|
|Man City must tell Guardiola to stop, says Toure´s agent|
|Hamsik thrilled to reach 100 Napoli goals|
|Zabaleta warns Man City over Celtic backlash|
|MLS Review: Red Bulls, Toronto into play-offs|
|´We were unlucky´ - Bale|
|Guardiola keen for Spurs test|
|Rodgers: I never fell out with Sterling|
|Wenger hails ´different´ Walcott|
|Mazzarri backs Deeney for England call-up|
|Mamelodi Sundowns and Zamalek reach CAF Champions League final|
|Benzema and Morata can play together - Zidane|
|Hummels plays down injury fears|
|Las Palmas 2 Real Madrid 2: Zidane´s men held again|
|Stones benefited from Moyes´ Everton exit, says Duffy|
|Allegri unconcerned by scrappy win|
|Montella demands Milan improvement|
|Ancelotti praises Thiago after Hamburg victory|
|Conte demands better attitude from Chelsea|
|Wenger hails stylish Arsenal display|
|Moreno the unlikely subject of Klopp´s praise|
|Walcott: We wanted it more than Chelsea|
|Phelan has ´no qualms´ over another handball red card|
|Arsenal 3 Chelsea 0: Sanchez, Walcott and Ozil pile on misery for Conte|
|That was how football should be - Klopp on Hull thrashing|
|Luis Enrique plans to keep Sergi Roberto on his toes|
|Karanka draws hope from Middlesbrough´s second half|
|Stoke is stitched into my body – Pulis|
|Palermo 0 Juventus 1: Own goal helps champions stay top|
|Hughes laments two ´stolen´ points|
|Wilshere can be a brilliant player for Bournemouth, says Howe|
|Defoe rues Sunderland collapse against Palace|
|Tottenham must be more clinical - Pochettino|
|Everton were second best, says Koeman|
|Benteke: I knew a chance was coming|
|Ranieri wants answers from Leicester players after Old Trafford thrashing|
|Board can call me if they want to talk - Guidolin|
|Sterling hails Guardiola´s impact|
|Sergi Roberto revelling in new role|
|Guardiola wants Aguero improvement despite scoring streak|
|Mourinho demands more from star man Pogba|
|Sporting Gijon 0 Barcelona 5: No Messi, no problem for ruthless champions|
|Stoke City 1 West Brom 1: Rondon snatches point as Pulis reaches 1000 games|
|Sunderland 2 Crystal Palace 3: Benteke´s late header stuns Black Cats|
|Swansea City 1 Manchester City 3: Aguero at the double for Guardiola´s perfect 10|
|Bournemouth 1 Everton 0: Stanislas wonder strike ends Koeman´s unbeaten start|
|Liverpool 5 Hull City 1: Coutinho stunner caps easy win|
|Middlesbrough 1 Tottenham 2: Son shines for Spurs|
|Hamburg 0 Bayern Munich 1: Late Kimmich goal maintains Bayern´s perfect start|
|Bayern facing defensive headache after Hummels limps off at Hamburg|
|Pogba and Mata delighted by United response|
|Vardy and Mahrez were rested for Porto, Ranieri admits|
|Mourinho completely trusts dropped Rooney|
|I beat Usain Bolt in a race - Bolasie|
|Juventus still Scudetto favourites - De Boer|
|Manchester United 4 Leicester City 1: Rooney watches on as Pogba inspires Red Devils demolition|
|Robben and Ribery are like Messi, claims Helmer|
|Pochettino hints at Vertonghen renewal|
|Robben´s style makes him an injury risk - Bayern fitness coach|
|Liverpool refuse to comment on Sakho´s social media outburst|
|Rooney dropped for Leicester City clash|
|Messi injury doesn´t matter to Barcelona - Abelardo|
|Thiago Silva worried by PSG form|
|Mourinho describes Wenger relationship as ´civilised´|
|Milito: Inter are no one-man team|
|Bilic delays naming daughter due to West Ham worries|
|Fernandinho hails ´intelligent´ De Bruyne|
|Matuidi: This season toughest for PSG|
|New York City 4 Chicago Fire 1: Villa nets twice in win|
|Pjaca not Morata - Allegri|
|Guardiola keen for Kolarov extension|
|England criticism changed Rooney - Mourinho|
|Gotze detractors don´t surprise Tuchel|
|Wenger laments missing out on Costa|
|Emery deflects blame from PSG players after Toulouse defeat|
|Guidolin: It´s not possible to beat Manchester City if you don´t play well|
|Mourinho prepared to bench Rooney|
|Fitness fears over Aubameyang with Real Madrid looming|