* format code.
 * add an option to support disable change port automatically.