It was a big moment for Inter, who had won just one of their last six Serie A games.
But their hopes of avoiding a second successive defeat in the competition were dashed when they were punished by a late penalty.
Inter went on to win 4-0.
It was the first win for the Nerazzurri since the club clinched the Champions League with a 2-1 win over Inter Milan in March 2014.