S4 175 then FR 4166 at Lisbon
Porto → Lisbon → Vienna
Timetable, Lisbon time
00:25S4 175 from Porto at the gate
18:10FR 4166 to Vienna leaves the gate
17 h 45 apart on the timetable
FR 4166 leaves 17 h 45 after S4 175 arrives on the timetable: more than half a day, so not a connection we count.