if (p != this && (p.getPort() == getPort() || p.getBoundPort() == getPort()))
if (p.getBoundPort() == newPort || p.getPort() == newPort)
if (p != this && (p.getPort() == getPort() || p.getBoundPort() == getPort()))
if (p.getBoundPort() == newPort || p.getPort() == newPort)