# Dynamic Web Socket URL

**URL:** https://discourse.nodered.org/t/dynamic-web-socket-url/100316
**Category:** General
**Created:** [5 February 2026 16:59 UTC](https://discourse.nodered.org/t/dynamic-web-socket-url/100316 "2026-02-05T16:59:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Mick](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mick/32/80990_2.png) [@Mick](https://discourse.nodered.org/u/Mick)
#### Post date: [5 February 2026 16:59 UTC](https://discourse.nodered.org/t/dynamic-web-socket-url/100316/1 "2026-02-05T16:59:00Z")

</div>

I have a flow that connects to [Blitortung.org](http://Blitortung.org) web socket.  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/3/e363a57d81f0a59a242d8519ab94cdc94ccf7ad5.png)  
There are 10 available web sockets. Is there any way to dynamically set the web socket url incase the web socket fails to connect? I could create all the web sockets but I don't know of dynamically change the socket.

Regards

---

<div class="post-metadata">

### Author: ![Mick](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mick/32/80990_2.png) [@Mick](https://discourse.nodered.org/u/Mick)
#### Post date: [5 February 2026 17:50 UTC](https://discourse.nodered.org/t/dynamic-web-socket-url/100316/2 "2026-02-05T17:50:18Z")

</div>

I found a dynamic web socket node.

[https://flows.nodered.org/node/node-red-contrib-dynamic-websocket](https://dynamic%20web%20socket)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [19 February 2026 17:50 UTC](https://discourse.nodered.org/t/dynamic-web-socket-url/100316/3 "2026-02-19T17:50:45Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
