Change port and group