# Access on localhost but not ip

**URL:** <https://community.netdata.cloud/t/access-on-localhost-but-not-ip/1202>\
**Category:** Help\
**Tags:** agent, agent-configuration\
**Created:** [April 19, 2021, 2:20pm UTC](https://community.netdata.cloud/t/access-on-localhost-but-not-ip/1202 "2021-04-19T14:20:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![LostAndDead](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/lostanddead/32/721_2.png) [@LostAndDead](https://community.netdata.cloud/u/LostAndDead)\
**Post date:** [April 19, 2021, 2:20pm UTC](https://community.netdata.cloud/t/access-on-localhost-but-not-ip/1202/1 "2021-04-19T14:20:38Z")

</div>

Ubuntu 18 and fresh install of netdata

So im rather now to all this and I recently installed netdata using the installer script which all seemed to work fine, I have opened the port 19999 with ufw, and if I curl the localhost:19999 it spams all the HTML (im assuming this is the panel) but when i access it in my browser with ip and port 19999 I just get nothing. It says it is listening on every ip so I dont see why it wont connect, i found a GitHub issue ([#1203](https://github.com/netdata/netdata/issues/1203)) like this but i followed stuff there and nothing worked. Any help would be great thanks. Im rather new to this so some explanation would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![ilyam8](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/ilyam8/32/134_2.png) [@ilyam8](https://community.netdata.cloud/u/ilyam8)\
**Post date:** [April 19, 2021, 8:47pm UTC](https://community.netdata.cloud/t/access-on-localhost-but-not-ip/1202/2 "2021-04-19T20:47:56Z")

</div>

Hi @LostAndDead

If netdata listens on 0.0.0.0

```cmd
[ilyam@pc ~]$ sudo ss -ntlp | grep netdata | grep 19999
LISTEN 0 4096 0.0.0.0:19999 0.0.0.0:* users:(("netdata",pid=48757,fd=4))
LISTEN 0 4096 [::]:19999 [::]:* users:(("netdata",pid=48757,fd=5))

```

Then it is likely your firewall configuration. Could you recheck it or show the rule?

* * *

> I recently installed netdata using the installer script

Just in case, did you apply any non default configuration?

---

<div class="post-metadata">

**Author:** ![LostAndDead](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/lostanddead/32/721_2.png) [@LostAndDead](https://community.netdata.cloud/u/LostAndDead)\
**Post date:** [April 19, 2021, 9:00pm UTC](https://community.netdata.cloud/t/access-on-localhost-but-not-ip/1202/3 "2021-04-19T21:00:05Z")

</div>

```auto
root@vps:~# ss -ntlp | grep netdata | grep 19999
LISTEN 0 128 0.0.0.0:19999 0.0.0.0:* users:(("netdata",pid=5692,fd=4))
LISTEN 0 128 [::]:19999 [::]:* users:(("netdata",pid=5692,fd=5))

```

And yes im an 99% sure i have the correct firewall rules, ufw allows port 19999

```auto
root@vps:~# ufw status | grep 19999
19999 ALLOW Anywhere
19999 (v6) ALLOW Anywhere (v6)

```

And i ran the installer as it goes, i haven’t changing any configuration values.

---

<div class="post-metadata">

**Author:** ![ilyam8](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/ilyam8/32/134_2.png) [@ilyam8](https://community.netdata.cloud/u/ilyam8)\
**Post date:** [April 19, 2021, 9:51pm UTC](https://community.netdata.cloud/t/access-on-localhost-but-not-ip/1202/4 "2021-04-19T21:51:54Z")

</div>

Yeah, i am not familiar with ufw, but it looks like you have 19999 whitelisted 🤔

Did you try to disable ufw temporary and see if it helps? So we can identify if that firewall problem or not.

---

<div class="post-metadata">

**Author:** ![ilyam8](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/ilyam8/32/134_2.png) [@ilyam8](https://community.netdata.cloud/u/ilyam8)\
**Post date:** [April 19, 2021, 9:55pm UTC](https://community.netdata.cloud/t/access-on-localhost-but-not-ip/1202/5 "2021-04-19T21:55:03Z")

</div>

> [@LostAndDead](#):
>
> `root@vps`

Could there be some vps provider firewall (not your vps local fw)?

---

<div class="post-metadata">

**Author:** ![LostAndDead](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/lostanddead/32/721_2.png) [@LostAndDead](https://community.netdata.cloud/u/LostAndDead)\
**Post date:** [April 20, 2021, 8:23am UTC](https://community.netdata.cloud/t/access-on-localhost-but-not-ip/1202/6 "2021-04-20T08:23:37Z")

</div>

I disabled the firewall and i am now able to access it, This is odd as i already have other applications such as Pterodactyl running on the machine fine. Im going to try specifying more details with the ufw rule rather than an more general rule, ill let you know how that goes.

---

<div class="post-metadata">

**Author:** ![LostAndDead](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/lostanddead/32/721_2.png) [@LostAndDead](https://community.netdata.cloud/u/LostAndDead)\
**Post date:** [April 20, 2021, 9:15am UTC](https://community.netdata.cloud/t/access-on-localhost-but-not-ip/1202/7 "2021-04-20T09:15:07Z")

</div>

I setup some more specific ufw rules, specifying the protocol, origin ip and a few other things (which should have all been default) and its working now, just seems it was ufw being odd. Thanks for the help anyway, all solved now.
