transition port from config