Changed port detection