OpenSearch-dashboards not respond (timeout)

Hello,
I’ve a problem with OpenSearch Dashboards 2.0.1 on Redhat 8.7 Server (RPM version, i’ve no the pb with docker). With default configuration just after setup opensearch db start without any pb (I can query on it) but dashboards won’t respond.
I try locally to access to it with

netstat -an | grep 5601 | grep LIS
tcp      129      0 0.0.0.0:5601            0.0.0.0:*               LISTEN

 curl http://127.0.0.1:5601
 curl https://127.0.0.1:5601

nothing respond, …

/etc/opensearch-dashboards/opensearch_dashboards.yml file contain

opensearch.hosts: [https://localhost:9200]
opensearch.ssl.verificationMode: none
#opensearch.username: kibanaserver
#opensearch.password: kibanaserver
opensearch.username: admin
opensearch.password: admin
opensearch.requestHeadersWhitelist: [authorization, securitytenant]
opensearch_security.multitenancy.enabled: true
opensearch_security.multitenancy.tenants.preferred: [Private, Global]
opensearch_security.readonly_mode.roles: [kibana_read_only]
# Use this setting if you are running opensearch-dashboards without https
opensearch_security.cookie.secure: false

Any idea ? I can’t find logs about dashboards…

Thanks.

reply to my-self :wink:
I’ve found the problem, but no solution for now…
I run opensearch-dashboards interactively and I get an error
log [14:25:16.768] [error][data][opensearch] [ConnectionError]: connect ECONNREFUSED 127.0.0.1:9200

this curl work fine…
curl --insecure --url https://localhost:9200
This one can’t connect
curl --insecure --url https://127.0.0.1:9200

anyone say why ?

why opensearch use IP ? I’ve set only a name in the config file not an IP.