# Connection Refused when testing nodjs example

**URL:** <https://forum.collaboraonline.com/t/connection-refused-when-testing-nodjs-example/3539>\
**Category:** Installation & Configuration\
**Created:** [March 21, 2025, 8:06pm UTC](https://forum.collaboraonline.com/t/connection-refused-when-testing-nodjs-example/3539 "2025-03-21T20:06:00Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jpappy](https://avatars.discourse-cdn.com/v4/letter/j/48db29/32.png) [@jpappy](https://forum.collaboraonline.com/u/jpappy)\
**Post date:** [March 21, 2025, 8:06pm UTC](https://forum.collaboraonline.com/t/connection-refused-when-testing-nodjs-example/3539/1 "2025-03-21T20:06:00Z")

</div>

I am trying to run the the examples to evaluate. I am using the Docker image and have that up and running. It is returning an ‘ok’ from curl -k [https://localhost:9980](https://localhost:9980). When I run the nodejs example and try to connect to this Collabora server running in docker with my local ip address as the nodejs server and the Collabora server are running on the same lan. I get  
Error: connect ECONNREFUSED 192.168.50.159:9980  
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1634:16)  
Emitted ‘error’ event on ClientRequest instance at:  
at emitErrorEvent (node:\_http\_client:104:11)  
at Socket.socketErrorListener (node:\_http\_client:518:5)  
at Socket.emit (node:events:518:28)  
at emitErrorNT (node:internal/streams/destroy:170:8)  
at emitErrorCloseNT (node:internal/streams/destroy:129:3)  
at process.processTicksAndRejections (node:internal/process/task\_queues:90:21) {  
errno: -4078,  
code: ‘ECONNREFUSED’,  
syscall: ‘connect’,  
address: ‘192.168.50.159’,  
port: 9980  
}

---

_[View the full topic](https://forum.collaboraonline.com/t/connection-refused-when-testing-nodjs-example/3539)._
