Micrometer-dynatrace show errors java.net.ConnectException: Connection refused: localhost/127.0.0.1:14499

Hello team,

I’m encountering some errors while trying to send metrics to Dynatrace using micrometer-dynatrace following the guide provided. Specifically, I keep getting a java.net.ConnectException: Connection refused: localhost/127.0.0.1:14499 error.

Here’s the guide I’m following: link.

Please note that I’m using the auto-configuration approach with OneAgent and I prefer not to configure the URL/token manually.

Could any experts provide assistance on this issue?

Thank you.

Hi @panda,

Many users have faced with this issue. I have not seen any solution for it. You should open a support ticket.

Failed metric ingestion: java.net.ConnectException: Connection refused (Connection refused) - Dynatrace Community

Best regards,

Mizső