No Route to host when i start influxdb

[root@192 influxdb]# influxdb2-2.7.11/usr/bin/influxd
2024-12-28T22:49:17.379800Z info Welcome to InfluxDB {“log_id”: “0tksCFGl000”, “version”: “v2.7.11”, “commit”: “fbf5d4ab5e”, “build_date”: “2024-12-02T17:48:15Z”, “log_level”: “info”}
2024-12-28T22:49:17.382201Z info Resources opened {“log_id”: “0tksCFGl000”, “service”: “bolt”, “path”: “/root/.influxdbv2/influxd.bolt”}
2024-12-28T22:49:17.382543Z info Resources opened {“log_id”: “0tksCFGl000”, “service”: “sqlite”, “path”: “/root/.influxdbv2/influxd.sqlite”}
2024-12-28T22:49:17.388477Z info Checking InfluxDB metadata for prior version. {“log_id”: “0tksCFGl000”, “bolt_path”: “/root/.influxdbv2/influxd.bolt”}
2024-12-28T22:49:17.388703Z info Using data dir {“log_id”: “0tksCFGl000”, “service”: “storage-engine”, “service”: “store”, “path”: “/root/.influxdbv2/engine/data”}
2024-12-28T22:49:17.388758Z info Compaction settings {“log_id”: “0tksCFGl000”, “service”: “storage-engine”, “service”: “store”, “max_concurrent_compactions”: 2, “throughput_bytes_per_second”: 50331648, “throughput_bytes_per_second_burst”: 50331648}
2024-12-28T22:49:17.388774Z info Open store (start) {“log_id”: “0tksCFGl000”, “service”: “storage-engine”, “service”: “store”, “op_name”: “tsdb_open”, “op_event”: “start”}
2024-12-28T22:49:17.421368Z info index opened with 8 partitions {“log_id”: “0tksCFGl000”, “service”: “storage-engine”, “index”: “tsi”}
2024-12-28T22:49:17.422329Z info index opened with 8 partitions {“log_id”: “0tksCFGl000”, “service”: “storage-engine”, “index”: “tsi”}
2024-12-28T22:49:17.422729Z info index opened with 8 partitions {“log_id”: “0tksCFGl000”, “service”: “storage-engine”, “index”: “tsi”}
2024-12-28T22:49:17.423604Z info loading changes (start) {“log_id”: “0tksCFGl000”, “service”: “storage-engine”, “engine”: “tsm1”, “op_name”: “field indices”, “path”: “/root/.influxdbv2/engine/data/ee002ebdda08921a/autogen/3/fields.idxl”, “op_event”: “start”}
2024-12-28T22:49:17.423686Z info loading changes (end) {“log_id”: “0tksCFGl000”, “service”: “storage-engine”, “engine”: “tsm1”, “op_name”: “field indices”, “path”: “/root/.influxdbv2/engine/data/ee002ebdda08921a/autogen/3/fields.idxl”, “op_event”: “end”, “op_elapsed”: “0.100ms”}
2024-12-28T22:49:17.423738Z info loading changes (start) {“log_id”: “0tksCFGl000”, “service”: “storage-engine”, “engine”: “tsm1”, “op_name”: “field indices”, “path”: “/root/.influxdbv2/engine/data/ee002ebdda08921a/autogen/2/fields.idxl”, “op_event”: “start”}
2024-12-28T22:49:17.423814Z info loading changes (end) {“log_id”: “0tksCFGl000”, “service”: “storage-engine”, “engine”: “tsm1”, “op_name”: “field indices”, “path”: “/root/.influxdbv2/engine/data/ee002ebdda08921a/autogen/2/fields.idxl”, “op_event”: “end”, “op_elapsed”: “0.083ms”}
2024-12-28T22:49:17.424510Z info loading changes (start) {“log_id”: “0tksCFGl000”, “service”: “storage-engine”, “engine”: “tsm1”, “op_name”: “field indices”, “path”: “/root/.influxdbv2/engine/data/ee002ebdda08921a/autogen/1/fields.idxl”, “op_event”: “start”}
2024-12-28T22:49:17.424728Z info loading changes (end) {“log_id”: “0tksCFGl000”, “service”: “storage-engine”, “engine”: “tsm1”, “op_name”: “field indices”, “path”: “/root/.influxdbv2/engine/data/ee002ebdda08921a/autogen/1/fields.idxl”, “op_event”: “end”, “op_elapsed”: “0.223ms”}
2024-12-28T22:49:17.424785Z info Opened file {“log_id”: “0tksCFGl000”, “service”: “storage-engine”, “engine”: “tsm1”, “service”: “filestore”, “path”: “/root/.influxdbv2/engine/data/ee002ebdda08921a/autogen/2/000000002-000000002.tsm”, “id”: 0, “duration”: “0.722ms”}
2024-12-28T22:49:17.425500Z info Opened file {“log_id”: “0tksCFGl000”, “service”: “storage-engine”, “engine”: “tsm1”, “service”: “filestore”, “path”: “/root/.influxdbv2/engine/data/ee002ebdda08921a/autogen/3/000000001-000000001.tsm”, “id”: 0, “duration”: “1.446ms”}
2024-12-28T22:49:17.425548Z info Opened shard {“log_id”: “0tksCFGl000”, “service”: “storage-engine”, “service”: “store”, “op_name”: “tsdb_open”, “db_shard_id”: 2, “path”: “/root/.influxdbv2/engine/data/ee002ebdda08921a/autogen/2”, “index_version”: “tsi1”, “duration”: “32.878ms”}
2024-12-28T22:49:17.425579Z info Finished loading shard, current progress 33.3% shards (1 / 3). {“log_id”: “0tksCFGl000”, “service”: “storage-engine”}
2024-12-28T22:49:17.425583Z info Opened shard {“log_id”: “0tksCFGl000”, “service”: “storage-engine”, “service”: “store”, “op_name”: “tsdb_open”, “db_shard_id”: 3, “path”: “/root/.influxdbv2/engine/data/ee002ebdda08921a/autogen/3”, “index_version”: “tsi1”, “duration”: “33.423ms”}
2024-12-28T22:49:17.425603Z info Finished loading shard, current progress 66.7% shards (2 / 3). {“log_id”: “0tksCFGl000”, “service”: “storage-engine”}
2024-12-28T22:49:17.425724Z info Opened file {“log_id”: “0tksCFGl000”, “service”: “storage-engine”, “engine”: “tsm1”, “service”: “filestore”, “path”: “/root/.influxdbv2/engine/data/ee002ebdda08921a/autogen/1/000000001-000000001.tsm”, “id”: 0, “duration”: “0.679ms”}
2024-12-28T22:49:17.425803Z info Opened shard {“log_id”: “0tksCFGl000”, “service”: “storage-engine”, “service”: “store”, “op_name”: “tsdb_open”, “db_shard_id”: 1, “path”: “/root/.influxdbv2/engine/data/ee002ebdda08921a/autogen/1”, “index_version”: “tsi1”, “duration”: “33.542ms”}
2024-12-28T22:49:17.425818Z info Finished loading shard, current progress 100.0% shards (3 / 3). {“log_id”: “0tksCFGl000”, “service”: “storage-engine”}
2024-12-28T22:49:17.426122Z info Open store (end) {“log_id”: “0tksCFGl000”, “service”: “storage-engine”, “service”: “store”, “op_name”: “tsdb_open”, “op_event”: “end”, “op_elapsed”: “37.348ms”}
2024-12-28T22:49:17.426180Z info Starting retention policy enforcement service {“log_id”: “0tksCFGl000”, “service”: “retention”, “check_interval”: “30m”}
2024-12-28T22:49:17.426208Z info Starting precreation service {“log_id”: “0tksCFGl000”, “service”: “shard-precreation”, “check_interval”: “10m”, “advance_period”: “30m”}
2024-12-28T22:49:17.427600Z info Starting query controller {“log_id”: “0tksCFGl000”, “service”: “storage-reads”, “concurrency_quota”: 1024, “initial_memory_bytes_quota_per_query”: 9223372036854775807, “memory_bytes_quota_per_query”: 9223372036854775807, “max_memory_bytes”: 0, “queue_size”: 1024}
2024-12-28T22:49:17.430830Z info Configuring InfluxQL statement executor (zeros indicate unlimited). {“log_id”: “0tksCFGl000”, “max_select_point”: 0, “max_select_series”: 0, “max_select_buckets”: 0}
2024-12-28T22:49:17.444403Z info Starting {“log_id”: “0tksCFGl000”, “service”: “telemetry”, “interval”: “8h”}
2024-12-28T22:49:17.446237Z info Listening {“log_id”: “0tksCFGl000”, “service”: “tcp-listener”, “transport”: “http”, “addr”: “:8086”, “port”: 8086}
2024-12-28T22:49:30.443724Z error Unable to gather {“log_id”: “0tksCFGl000”, “service”: “scraper”, “scraper-name”: “new target”, “error”: “Get "http://192.168.10.138:8086/metrics\”: dial tcp 192.168.10.138:8086: connect: no route to host"}

2024-12-28T22:49:40.443431Z error Unable to gather {“log_id”: “0tksCFGl000”, “service”: “scraper”, “scraper-name”: “new target”, “error”: “Get "http://192.168.10.138:8086/metrics\”: dial tcp 192.168.10.138:8086: connect: no route to host"}

my ip is
[root@192 influxdb]#
[root@192 influxdb]#
[root@192 influxdb]# ifconfig
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.10.151 netmask 255.255.255.0 broadcast 192.168.10.255
inet6 fe80::4642:855e:ff60:6892 prefixlen 64 scopeid 0x20
ether 00:0c:29:a2:d4:35 txqueuelen 1000 (Ethernet)
RX packets 14537 bytes 1136699 (1.0 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 9485 bytes 1509180 (1.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 2327 bytes 640215 (625.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2327 bytes 640215 (625.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@192 influxdb]#
[root@192 influxdb]# hostname
192.168.10.151
[root@192 influxdb]#
[root@192 influxdb]# more /etc/re
redhat-release resolv.conf resolv.conf.save
[root@192 influxdb]# more /etc/resolv.conf

Generated by NetworkManager

search localdomain
nameserver 192.168.10.2
[root@192 influxdb]#
[root@192 influxdb]# more /etc/host
/etc/host: No such file or directory
[root@192 influxdb]# more /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
[root@192 influxdb]#

Hello @zhou_ruixiang,
Can you

ping 192.168.10.138

?
Can you verify the scraper target in the InfluxDB UI?
Have you ensured InfluxDB is running?
Do you have any firewalls blocking traffic?

Can you test the metrics endpoing?

with a curl?