Grafana wont bind to an IP address?

#1

Hi,

I have just installed Grapfana on a ubuntu VM via esxi6.5. I can log into grafana via localhost:3000, but for some reason grafana doesnt seem to get an IP address?

the startup log states 0:0:0:0 for the ip address? I have tried to manually change the config.ini file to add the ip address of my local host (192.168.1.207) but that does not fix the problem.

Is there something else i should be doing?

#2

Hi,

Do you have a firewall blocking access to grafana by ip?

Marcus

#3

I don’t have any specific firewall rules set up to block access. I think it might be something to do with Linux getting access to port 3000?

#4

I’m running Ubuntu 16.04 and have no problem accessing my local Grafana instance on my current IP, i.e. 192.168.198.230.

Could it be a esxi network issue? Can you ping the machine using external ip for example?

Marcus

#5

yes i can ping the machine. I access the machine using a webgui and vmware esxi.

#6

Hi,

Okay. Just to clarify my earlier answer. I’m on Grafana v5.0. I used the default grafana configuration:

[server]
# Protocol (http, https, socket)
protocol = http

# The ip address to bind to, empty will bind to all interfaces
http_addr =

# The http port  to use
http_port = 3000

# The public facing domain name used to access grafana from a browser
domain = localhost

What grafana version are you using?

Marcus

#7

Hello,

You just need to bind ip address in server section of grafana.ini configuration file.

http_addr = 192.168.1.207

Hope it works for you.

Thanks
Amber