Connect from another host

how to configure opensearch.yml/opensearch_dashboards.yml to connect from another host

Can you provide more details regarding your issue? Are you trying to reindex documents from another cluster? Or want to connect a Dashboard instance with an existing cluster?