# Websocket with configurable address

**URL:** https://discourse.nodered.org/t/websocket-with-configurable-address/48451
**Category:** General
**Created:** [15 July 2021 10:25 UTC](https://discourse.nodered.org/t/websocket-with-configurable-address/48451 "2021-07-15T10:25:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![najeem](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/najeem/32/44952_2.png) [@najeem](https://discourse.nodered.org/u/najeem)
#### Post date: [15 July 2021 10:25 UTC](https://discourse.nodered.org/t/websocket-with-configurable-address/48451/1 "2021-07-15T10:25:36Z")

</div>

Hi,  
I'm new to Node-Red and have been strugling with a limitation of websockets.  
I am using the websocket node as a client (connect instead of listen). I am able to send messages as well as recieve messages. However, I have to hardcode the address in the node configuration. But the address that I have to use is coming as an output of an http request.

Is it possible feed the websocket address as a input to the websocket node? or do I have to write a custom function/node for this?

Thanks

---

<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: [13 September 2021 10:25 UTC](https://discourse.nodered.org/t/websocket-with-configurable-address/48451/2 "2021-09-13T10:25:43Z")

</div>

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