EI 3217 then FR 5151 at Dublin
Castletown → Dublin → Glasgow
Timetable, Dublin time
18:05EI 3217 from Castletown at the gate
13:20FR 5151 to Glasgow leaves the gate
19 h 15 apart on the timetable, overnight
FR 5151 leaves 19 h 15 after EI 3217 arrives on the timetable: more than half a day, so not a connection we count.