Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refused connections stats #102

Open
ZanLi7 opened this issue Jun 25, 2019 · 3 comments
Open

refused connections stats #102

ZanLi7 opened this issue Jun 25, 2019 · 3 comments

Comments

@ZanLi7
Copy link

ZanLi7 commented Jun 25, 2019

System:
Windows 10, Enterprise
Docker Desktop
Kitematic

I've been trying to connect to the statsd database to send any sample data, but I get the connection refused error (similar to issues 55, 64).

Used the recommended configuration in the walkthrough of :
docker run -d --name graphite --restart=always -p 80:80 -p 81:81 -p 2003-2004:2003-2004 -p 2023-2024:2023-2024 -p 8125:8125/udp -p 8126:8126 hopsoft/graphite-statsd

I can connect to the Grafana database on http://localhost:80 or to the Graphite database on http://localhost:81 and I can see and use the links. I can connect the Graphite database to the Grafana database and it seems to work. However, I cannot send any stats to http://localhost:8125 or http://127.0.0.1:8125.

I've tried this to replicate the demo in the instructions using PowerShell:
invoke-webrequest 'http://127.0.0.1:8125'
and
invoke-webrequest 'http://localhost:8125'

but I get

invoke-webrequest : No connection could be made because the target machine actively refused it

I've tried running netstat and I can see

Proto Local Address Foreign Address State
UDP 0.0.0.0:8125 :
[vpnkit.exe]

Is there something you could point me towards to help fix this?

@ValiDrv
Copy link

ValiDrv commented Jun 26, 2019

Same on Linux log-102 4.15.0-52-generic #56-Ubuntu SMP Tue Jun 4 22:49:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
statsd does not listen on port 8125

@jace
Copy link

jace commented May 6, 2020

statsd runs on UDP, so you can't connect to it over TCP+HTTP.

Arrived here debugging a similar issue, but in my case statsd is not responding on port 8126.

@yashchoubisa
Copy link

Facing the same problem, @jace @ValiDrv @ZanLi7
Please help if you had esolved the problem,
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants