# Warning: Connection refused on port 9304

**URL:** <https://discuss.elastic.co/t/warning-connection-refused-on-port-9304/379644>\
**Category:** Elasticsearch\
**Created:** [June 30, 2025, 7:25pm UTC](https://discuss.elastic.co/t/warning-connection-refused-on-port-9304/379644 "2025-06-30T19:25:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![HarimbolaSantatra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harimbolasantatra/32/136974_2.png) [@HarimbolaSantatra](https://discuss.elastic.co/u/HarimbolaSantatra)\
**Post date:** [June 30, 2025, 7:25pm UTC](https://discuss.elastic.co/t/warning-connection-refused-on-port-9304/379644/1 "2025-06-30T19:25:04Z")

</div>

I am running ES on a local computer. I am encountering this error:

```auto
[2025-06-30T15:06:05,304][WARN][o.e.d.PeerFinder] [localhost.localdomain] address [[::1]:9304], node [unknown] discovery result: [][[::1]:9304] connect_exception: Failed execution: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /[0:0:0:0:0:0:0:1]:9304: Connection refused: /[0:0:0:0:0:0:0:1]:9304: Connection refused; for summary, see logs from org.elasticsearch.cluster.coordination.ClusterFormationFailureHelper; for troubleshooting guidance, see https://www.elastic.co/docs/troubleshoot/elasticsearch/discovery-troubleshooting?version=9.0

```

As mentioned on [Required port](https://www.elastic.co/docs/deploy-manage/deploy/self-managed/installing-elasticsearch#required-ports), port 9300 and onward are for intra-cluster communication. But I am running a single node cluster.

**Can someone explain the meaning of this warning ?**

**Additional info** :

1. No firewall running, no program blocking the port
2. ES service is running under the `elasticsearch` user and group
3. Content of `elasticsearch.yml`:

```yml
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: 192.168.3.1
http.port: 9200

xpack.security.enabled: true

xpack.security.enrollment.enabled: false

xpack.security.http.ssl:
  enabled: false
  keystore.path: certs/http.p12

xpack.security.transport.ssl:
  enabled: true
  verification_mode: certificate
  keystore.path: certs/transport.p12
  truststore.path: certs/transport.p12
cluster.initial_master_nodes: ["localhost"]

http.host: 0.0.0.0

```
