Why is Derry down? was asked earlier.
In railway parlance, "up" is towards the capital "down" away from, therefore Derry is "down" from Belfast.
This confirms the first appearance of this song to after the establishment of railways in Northern Ireland.
HTH