OpenSearch-dashboards not respond (timeout)

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  *               LISTEN


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 false

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


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

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

anyone say why ?

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