When using Sinoz docker with opentelemetry nodejs ...
# support
a
When using Sinoz docker with opentelemetry nodejs I often get an error in logs Connection refused: localhost/127.0.0.1:4317
Copy code
{
  "timestamp": "2025-01-02T10:56:32.378754505Z",
  "sequence": 10947,
  "loggerClassName": "org.jboss.logmanager.Logger",
  "loggerName": "io.quarkus.opentelemetry.runtime.exporter.otlp.VertxGrpcExporter",
  "level": "SEVERE",
  "message": "Failed to export spans. The request could not be executed. Full error message: Connection refused: localhost/127.0.0.1:4317",
  "threadName": "vert.x-eventloop-thread-5",
  "threadId": 31,
  "mdc": {},
  "ndc": "",
  "hostName": "4e1a59e6aa04",
  "processName": "super-connector.jar",
  "processId": 1
}
s
is the node js application running inside docker? If the you should point it to use host ip where collector is accessible,
a
no, node app is not running in docker
s
Is the collector running on the same host as application?
a
signoz is running inside docker
but node js app is running without docker
s
Share the env config used in node js application