FR 9986 then FR 812 at Dublin
Porto → Dublin → Edinburgh
Timetable, Dublin time
10:15FR 9986 from Porto at the gate
07:30FR 812 to Edinburgh leaves the gate
21 h 15 apart on the timetable, overnight
FR 812 leaves 21 h 15 after FR 9986 arrives on the timetable: more than half a day, so not a connection we count.