Change8
Error2 reports

Fix ConnectionRefusedError

in OpenTelemetry Python

Solution

ConnectionRefusedError in OpenTelemetry typically indicates that the target service (e.g., the collector) isn't running or is unreachable at the specified host and port. Verify the collector is running and accessible from the machine running your OpenTelemetry application; double-check the host and port configuration in your exporter to match the collector's listening address. Ensure no firewall rules are blocking communication between your application and the collector.

Timeline

First reported:Jul 3, 2025
Last reported:Jul 16, 2025

Need More Help?

View the full changelog and migration guides for OpenTelemetry Python

View OpenTelemetry Python Changelog