Add port test

This change enables the test for an incorrect port number.

[#64604676]
Merge branch 'configure-port'