There currently is one option to travel by night train from Levanger (Norway) to Rana (Norway), taking approximately 6 hours: Namely the 475 operated by SJ Nord.
SJ Nord, part of the Swedish state railway group SJ, runs passenger train services in Norway.