add check server port before add server

Change-Id: I914ce7cd3f1ad7f90ff47a9f3d78c25474adc9b4
Merge "add check server port before add server" into 0.6.x