Ho to access Grafana from another computer

Hi Everyone,

I am new to Grafana. I have installed Grafana on Centos 7 and then trying to access it from another windows desktop as https:grafana-ip:3000. But, I was unable to reach the grafana home page.

As, am new I have a feeling that am missing some link here. Do I need to do any configuration before accessing the grafana-server from the remote desktop.

I am sorry if it is a basic question. Hope I will get some response.

Best regards and Thanks in advance

Did you mean to specify https? Does it work if you use http?
Presumably you have not literally used grafana-ip but have used the ip address of the machine running grafana.
What do you see in the browser when you try to connect.
Can you ping the grafana machine from the remote machine using the ip?

Firstly it should not be HTTPS, it’s just HTTP.

Secondly, and I’m assuming you literally quoted what you’re typing into the
browser here, it should be HTTP://grafana-ip:3000 The two slashes are
important.

Finally, can you ping the IP address of your Centos machien from your Windows
desktop? Check the basic networking.

Regards,

Antony.

Hi @pooh,
I met the same issue.
And I can ping the IP address and using HTTP also.
But still can’t get into the login page.
Do u know how to solve this?
Cheers
Yang

Hi @pooh,
I met the same issue.
And I can ping the IP address

Good, so basic networking is functional.

and using HTTP also.

Please explain exactly what you mean by that - how are you testing HTTP
connectivity?

But still can’t get into the login page.

What happens when you try? Do you get an error message, do you see some page
which is not the login page, do you get a timeout, what?

Do u know how to solve this?

Firstly, can you make sure that Grafana is listening on the IP address you are
trying to connect to: SSH as root to the machine Grafana is running on and
type “netstat -lptn”. Look for a line with “:3000” in the “Local Address”
column (it should also have “grafana-server” in the “PID/Program name”
column).

What is in front of the “:3000”?

  • if it’s “127.0.0.1”, then Grafana is listening on IPv4 locahost only and
    you need to tell it to listen on the IP address you’re trying to connect to.

  • if it’s “::1”, then it’s doing the same thing but for IPv6

  • if it’s “0.0.0.0” then it’s listening on all IPv4 addresses, so this is not
    the problem (unless you’re trying to connect by IPv6)

  • if it’s “::” then it’s listening on all IPv4 and IPv6 addresses, so again,
    this is not the problem.

Regards,

Antony.