change app-port stats-port value type