# Kibana Actively Refusing Connections on 5601

**URL:** <https://discuss.elastic.co/t/kibana-actively-refusing-connections-on-5601/170156>\
**Category:** Kibana\
**Created:** [February 27, 2019, 11:57am UTC](https://discuss.elastic.co/t/kibana-actively-refusing-connections-on-5601/170156 "2019-02-27T11:57:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luke14](https://avatars.discourse-cdn.com/v4/letter/l/65b543/32.png) [@luke14](https://discuss.elastic.co/u/luke14)\
**Post date:** [February 27, 2019, 11:57am UTC](https://discuss.elastic.co/t/kibana-actively-refusing-connections-on-5601/170156/1 "2019-02-27T11:57:44Z")

</div>

Hi, I am having trouble setting up my filebeat dashboards in Kibana. When I run the command to setup dashboards I am getting this error.

`Get http://192.168.126.132:5601/api/status: dial tcp 192.168.126.132:5601: connectex: No connection could be made because the target machine actively refused it`

My filebeat.yml looks like this:

`setup.kibana.host: "192.168.126.132:5601"`

My Kibana host machine is reachable on the network. I'm not sure why it is being actively refused. I have allowed all connections to port 5601 in ufw.

When I run netstat -plnt I get :

```
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN -               
tcp 0 0 0.0.0.0:7734 0.0.0.0:* LISTEN -               
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -               
tcp 0 0 0.0.0.0:7736 0.0.0.0:* LISTEN -               
tcp 0 0 127.0.0.1:5601 0.0.0.0:* LISTEN -               
tcp 0 0 0.0.0.0:514 0.0.0.0:* LISTEN -               
tcp 0 0 127.0.0.1:8101 0.0.0.0:* LISTEN -               
tcp6 0 0 :::9200 :::* LISTEN -               
tcp6 0 0 :::47760 :::* LISTEN -               
tcp6 0 0 :::5044 :::* LISTEN -               
tcp6 0 0 :::9300 :::* LISTEN -               
tcp6 0 0 :::7734 :::* LISTEN -               
tcp6 0 0 :::22 :::* LISTEN -               
tcp6 0 0 :::7736 :::* LISTEN -               
tcp6 0 0 :::443 :::* LISTEN -               
tcp6 0 0 :::9600 :::* LISTEN -               
tcp6 0 0 :::6050 :::* LISTEN -               
tcp6 0 0 :::6051 :::* LISTEN -               
tcp6 0 0 :::6052 :::* LISTEN -               
tcp6 0 0 :::6053 :::* LISTEN -

```

Is it a problem with Kibana's host server name? My Kibana.yml is below:

```
server.name: kibana
server.host: "0.0.0.0"
elasticsearch.url: http://elasticsearch:9200
#elasticsearch.username: elastic
#elasticsearch.password: changeme
#xpack.monitoring.ui.container.elasticsearch.enabled: true
logging.dest: /var/log/kibana/kibana.log

```

Any help would be appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 27, 2019, 11:57am UTC](https://discuss.elastic.co/t/kibana-actively-refusing-connections-on-5601/170156/2 "2019-03-27T11:57:47Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
