port and simulator connection management