#3029: internal ports persistence