Remove unused ports