Incorrect port replacement