Fail to connect the port 9200

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser): 2.12.0

Describe the issue: -bash-4.2# sudo systemctl status opensearch-2.12.0.service
● opensearch-2.12.0.service - OpenSearch 2.12.0
Loaded: loaded (/etc/systemd/system/opensearch-2.12.0.service; enabled; vendo r preset: disabled)
Active: active (running) since Wed 2024-04-17 14:08:28 UTC; 21min ago
Process: 28113 ExecStart=/opt/opensearch-2.12.0/bin/opensearch -d (code=exited , status=0/SUCCESS)
Main PID: 28324 (java)
CGroup: /system.slice/opensearch-2.12.0.service
└─28324 /opt/opensearch-2.12.0/jdk/bin/java -Xshare:auto -Dopensea…

Apr 17 14:08:26 systemd[1]: Starti…
Apr 17 14:08:28 systemd[1]: Starte…
Hint: Some lines were ellipsized, use -l to show in full.

-bash-4.2# curl -u admin:admin -k
curl: (7) Failed to connect to port 9200 after 0 ms: Couldn’t conne


Relevant Logs or Screenshots:

Hi @rathiga,

Could you confirm if port 9200 is opened?

you can use something like:

sudo netstat -tulpn | grep LISTEN