Opensearch Dashboard Custom host in the config file

HI Is there anyway to configure OpenSearch-dashboard host?
Here is the default opensearch_dashboards.yml file:

Copyright OpenSearch Contributors

SPDX-License-Identifier: Apache-2.0


Default configuration for OpenSearch Dashboards

opensearch.hosts: [“https://localhost:9200”]
opensearch.ssl.verificationMode: none
opensearch.username: “kibanaserver”
opensearch.password: “kibanaserver”
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 kibana without https false

There is a host for opensearch in parameter “opensearch.hosts” but is there a way to configure opensearch-dashboard to run a specific IP like

Thanks in advance.

To bind OpenSearch Dashboards, you can update the config/opensearch_dashboards.yml file with:

# OpenSearch Dashboards is served by a back end server. This setting specifies the port to use.
server.port: 80

# Specifies the address to which the OpenSearch Dashboards server will bind. IP addresses and host names are both valid values.
# The default is 'localhost', which usually means remote machines will not be able to connect.
# To allow connections from remote users, set this parameter to a non-loopback address. ""

Good luck.