[new] add port in config.json, and [fix] shutdown while got SIGINT