当修改taos数据库配置后请重新启动taos 和taosAdapter
systemctl restart taosd systemctl restart taosadapter
才能够正常建立网络连接