# How can I get my Netdata Agent web dashboard to work?

**URL:** <https://community.netdata.cloud/t/how-can-i-get-my-netdata-agent-web-dashboard-to-work/64>\
**Category:** Help\
**Tags:** agent\
**Created:** [October 10, 2020, 9:07am UTC](https://community.netdata.cloud/t/how-can-i-get-my-netdata-agent-web-dashboard-to-work/64 "2020-10-10T09:07:31Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![XP\_Mai](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/xp_mai/32/164_2.png) [@XP\_Mai](https://community.netdata.cloud/u/XP_Mai)\
**Post date:** [October 10, 2020, 9:07am UTC](https://community.netdata.cloud/t/how-can-i-get-my-netdata-agent-web-dashboard-to-work/64/1 "2020-10-10T09:07:31Z")

</div>

`http://NODE:19999` doesn’t work for me.

I use Amazon EC2 Ubuntu 18.

My Netdata run perfectly `service netdata start` and the stats are OK on Netdata Cloud.

I’m wondering what I’m doing wrong why `http://ec2ip:19999` doesn’t work for me. Security ports are open, ufw firewall are open for http/https

---

<div class="post-metadata">

**Author:** ![Thiago\_Marques\_0](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/thiago_marques_0/32/281_2.png) [@Thiago\_Marques\_0](https://community.netdata.cloud/u/Thiago_Marques_0)\
**Post date:** [October 14, 2020, 6:01pm UTC](https://community.netdata.cloud/t/how-can-i-get-my-netdata-agent-web-dashboard-to-work/64/2 "2020-10-14T18:01:03Z")

</div>

@XP-Mai I am very happy to read this news! 😃

Please, let us know if you need anything.

Best regards!

---

<div class="post-metadata">

**Author:** ![XP\_Mai](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/xp_mai/32/164_2.png) [@XP\_Mai](https://community.netdata.cloud/u/XP_Mai)\
**Post date:** [October 14, 2020, 12:29pm UTC](https://community.netdata.cloud/t/how-can-i-get-my-netdata-agent-web-dashboard-to-work/64/3 "2020-10-14T12:29:48Z")

</div>

@Thiago-Marques-0 Thank you so much! It’s working now. 😄

@Thiago-Marques-0 said in [How can I get my Netdata Agent web dashboard to work?](https://community.netdata.cloud/t/how-can-i-get-my-netdata-agent-web-dashboard-to-work/64/7):

> @XP-Mai I used “```” at the beginning and at the end of the block to show my `iptables`, probably if you also add them, you will be able to plot firewall output here.

Yes, Akismet prevented me from posting even though I enclosed it with triple backticks. Maybe it got to do with the length of the message. Because overall it’s quite long.

---

<div class="post-metadata">

**Author:** ![Thiago\_Marques\_0](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/thiago_marques_0/32/281_2.png) [@Thiago\_Marques\_0](https://community.netdata.cloud/u/Thiago_Marques_0)\
**Post date:** [October 14, 2020, 11:54am UTC](https://community.netdata.cloud/t/how-can-i-get-my-netdata-agent-web-dashboard-to-work/64/4 "2020-10-14T11:54:02Z")

</div>

@XP-Mai I am assuming that your `iptables` output is different of my output, this means that you have a firewall running, so you will need to enable connections to port `19999` to access from outside your network.

---

<div class="post-metadata">

**Author:** ![XP\_Mai](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/xp_mai/32/164_2.png) [@XP\_Mai](https://community.netdata.cloud/u/XP_Mai)\
**Post date:** [October 14, 2020, 1:19am UTC](https://community.netdata.cloud/t/how-can-i-get-my-netdata-agent-web-dashboard-to-work/64/5 "2020-10-14T01:19:52Z")

</div>

@Thiago-Marques-0 Yes, I shared the terminal lines above. It’s linked to pastebin of the 2 commands you told me to try.

---

<div class="post-metadata">

**Author:** ![Thiago\_Marques\_0](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/thiago_marques_0/32/281_2.png) [@Thiago\_Marques\_0](https://community.netdata.cloud/u/Thiago_Marques_0)\
**Post date:** [October 13, 2020, 5:59pm UTC](https://community.netdata.cloud/t/how-can-i-get-my-netdata-agent-web-dashboard-to-work/64/6 "2020-10-13T17:59:56Z")

</div>

@OdysLam can users use “```” without restrictions?

---

<div class="post-metadata">

**Author:** ![Thiago\_Marques\_0](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/thiago_marques_0/32/281_2.png) [@Thiago\_Marques\_0](https://community.netdata.cloud/u/Thiago_Marques_0)\
**Post date:** [October 13, 2020, 5:59pm UTC](https://community.netdata.cloud/t/how-can-i-get-my-netdata-agent-web-dashboard-to-work/64/7 "2020-10-13T17:59:29Z")

</div>

@XP-Mai I used “```” at the beginning and at the end of the block to show my `iptables`, probably if you also add them, you will be able to plot firewall output here.

---

<div class="post-metadata">

**Author:** ![XP\_Mai](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/xp_mai/32/164_2.png) [@XP\_Mai](https://community.netdata.cloud/u/XP_Mai)\
**Post date:** [October 13, 2020, 1:16pm UTC](https://community.netdata.cloud/t/how-can-i-get-my-netdata-agent-web-dashboard-to-work/64/8 "2020-10-13T13:16:04Z")

</div>

@Thiago-Marques-0

[sudo iptables -L](https://pastebin.com/eQ0fxH9V)

[iptables -L -t nat](https://pastebin.com/p53Pq92y)

Can you check is it firewall problem?

_I can’t paste the terminal lines directly here because Akismet thinks it’s spam._

---

<div class="post-metadata">

**Author:** ![Thiago\_Marques\_0](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/thiago_marques_0/32/281_2.png) [@Thiago\_Marques\_0](https://community.netdata.cloud/u/Thiago_Marques_0)\
**Post date:** [October 13, 2020, 12:51pm UTC](https://community.netdata.cloud/t/how-can-i-get-my-netdata-agent-web-dashboard-to-work/64/9 "2020-10-13T12:51:25Z")

</div>

@Mai-Vu-Tan considering that you have success to access it locally, this means that probably you have a firewall blocking requests to port 19999 that comes from outside the machine. You can confirm this running the command `iptables -L` and `iptables -L -t nat `. If you see something different of :

```auto
bash-5.0# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination         

Chain FORWARD (policy ACCEPT)
target prot opt source destination         

Chain OUTPUT (policy ACCEPT)
target prot opt source destination         
bash-5.0# iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target prot opt source destination         

Chain INPUT (policy ACCEPT)
target prot opt source destination         

Chain OUTPUT (policy ACCEPT)
target prot opt source destination         

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination    

```

you will need to configure your firewall to allow connections for port 19999.

---

<div class="post-metadata">

**Author:** ![Thiago\_Marques\_0](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/thiago_marques_0/32/281_2.png) [@Thiago\_Marques\_0](https://community.netdata.cloud/u/Thiago_Marques_0)\
**Post date:** [October 13, 2020, 12:47pm UTC](https://community.netdata.cloud/t/how-can-i-get-my-netdata-agent-web-dashboard-to-work/64/10 "2020-10-13T12:47:49Z")

</div>

@Mai-Vu-Tan , this is a successful request. When you ran curl on terminal, it got the html code and prints it on screen, this happens because the terminal cannot convert this for a web page.

---

<div class="post-metadata">

**Author:** ![XP\_Mai](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/xp_mai/32/164_2.png) [@XP\_Mai](https://community.netdata.cloud/u/XP_Mai)\
**Post date:** [October 13, 2020, 12:44pm UTC](https://community.netdata.cloud/t/how-can-i-get-my-netdata-agent-web-dashboard-to-work/64/11 "2020-10-13T12:44:25Z")

</div>

@Thiago-Marques-0 I don’t host it on my computer… I host it on an Amazon EC2 instance.

---

<div class="post-metadata">

**Author:** ![XP\_Mai](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/xp_mai/32/164_2.png) [@XP\_Mai](https://community.netdata.cloud/u/XP_Mai)\
**Post date:** [October 13, 2020, 12:12pm UTC](https://community.netdata.cloud/t/how-can-i-get-my-netdata-agent-web-dashboard-to-work/64/12 "2020-10-13T12:12:02Z")

</div>

@OdysLam said in [How can I get my Netdata Agent web dashboard to work?](https://community.netdata.cloud/t/how-can-i-get-my-netdata-agent-web-dashboard-to-work/64/14):

> Hi,
> 
> I would suggest starting the investigation by using `curl` to try and fetch the dashboard from inside the VM: `curl HTTP://localhost:19999`.

What does this mean? Is it success or failure?

 ![screenshot](https://canada1.discourse-cdn.com/flex029/uploads/netdata2/original/2X/7/79c4b332e1fa89961a0a48230c701038e82831b5.jpeg)  
link to screenshot: [curl HTTP://localhost:19999](https://screencast-o-matic.com/i/cY6Il671VB)

---

<div class="post-metadata">

**Author:** ![Thiago\_Marques\_0](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/thiago_marques_0/32/281_2.png) [@Thiago\_Marques\_0](https://community.netdata.cloud/u/Thiago_Marques_0)\
**Post date:** [October 13, 2020, 10:39am UTC](https://community.netdata.cloud/t/how-can-i-get-my-netdata-agent-web-dashboard-to-work/64/13 "2020-10-13T10:39:03Z")

</div>

Hello @Mai-Vu-Tan ,

Do you have a firewall running on this computer? Can you access it locally using 127.0.0.1 as IP address?

Best regards!

---

<div class="post-metadata">

**Author:** ![OdysLam](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/odyslam/32/98_2.png) [@OdysLam](https://community.netdata.cloud/u/OdysLam)\
**Post date:** [October 12, 2020, 6:54am UTC](https://community.netdata.cloud/t/how-can-i-get-my-netdata-agent-web-dashboard-to-work/64/14 "2020-10-12T06:54:02Z")

</div>

Hi,

I would suggest starting the investigation by using `curl` to try and fetch the dashboard from inside the VM: `curl HTTP://localhost:19999`. If it works, then for some reason Netdata can not be accessed by another machine. Then, we could look into whether Netdata itself has this restriction (by looking at the [configuration](https://github.com/netdata/netdata/issues/3499)) or whether AWS EC2 needs some configuration to allow inbound access. Chances are that if you are using netdata default configuration, then netdata is accessible by any machine, so it must be EC2 specific.

BTW, Welcome to our community! Thank you for posting your questions and be sure to stick around and help a user or two if you happen to have any insight on their questions. We would love to see you how you use netdata 🙂

Best,  
Odysseas
