Defined port validation in configuration.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>