Portugal edged out Norway to join their opponents and Denmark at the top of Group H in Euro 2012 qualifying.
Portugal dominated the match but were reliant on Helder Postiga's 53rd-minute header to make the difference as they were frustrated in front of goal for long stretches.
Norway's Bjorn Helge Riise tried an ambitious 25-yard shot after only 18 seconds, but Portugal had soon taken a grip on the game.
Joao Moutinho fired over before Raul Meireles was also off-target, but the chances continued to come and Cristiano Ronaldo forced a good save out of Rune Almenning Jarstein in the ninth minute.
Nani's free-kick then found Pepe in the area, but the defender could not keep his header down.
Eduardo Carvalho was untroubled in the Portuguese goal until the 17th minute, when he dived to push Erik Huseklepp's shot to safety.
Meireles sent a long-range effort wide of the target before Ronaldo headed over as Portugal continued to push, but there was another reminder of the danger Norway posed on the break as Morten Gamst Pedersen shot narrowly over.
Ronaldo got up for another header on goal but Jarstein made the save, and then also denied Nani before the break.
The Portuguese onslaught continued in the second half, with Jarstein called on early to push Postiga's shot around the post before Nani and then Bruno Alves sent efforts over the crossbar.
The breakthrough came in the 53rd minute when Nani's cross found Postiga who headed in from close range.
And it might have been 2-0 four minutes later as Jarstein made a fine save to deny Jorge Carlos Martins.
Ronaldo was twice off target as the game moved into the final 25 minutes, and he then saw another shot charged down by Brede Hangeland.
The Real Madrid man, so prolific in La Liga this season with a record 40 goals, looked determined to score but would be denied as he headed over in the 84th minute and then fired wide in injury time.