test port changed.