Remove unused port numbers