# Read data through an Ethernet port

**URL:** <https://discourse.nodered.org/t/read-data-through-an-ethernet-port/78909>\
**Category:** General\
**Tags:** http-request\
**Created:** [2 June 2023 21:35 UTC](https://discourse.nodered.org/t/read-data-through-an-ethernet-port/78909 "2023-06-02T21:35:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jhontan14](https://avatars.discourse-cdn.com/v4/letter/j/2acd7d/32.png) [@Jhontan14](https://discourse.nodered.org/u/Jhontan14)\
**Post date:** [2 June 2023 21:35 UTC](https://discourse.nodered.org/t/read-data-through-an-ethernet-port/78909/1 "2023-06-02T21:35:39Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/d/2dae88615741df2c91cb058a33058e00fa2cdc8b.jpeg)  
Hello, could someone tell me if it is possible to receive information in node red through an Ethernet port?

I have a scale in room A, which is quite a distance from room B, and I can't use a RS232 cable, that's why I was considering connecting the scale via RS232-ETHERNET adapter, in order to connect it to a siwtch /router and be able to read the gateway through the switch or router. or failing that, use an internet cable that allows me to cover more distance,

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [2 June 2023 21:40 UTC](https://discourse.nodered.org/t/read-data-through-an-ethernet-port/78909/2 "2023-06-02T21:40:18Z")

</div>

> [@Jhontan14](#):
>
> could someone tell me if it is possible to receive information in node red through an Ethernet port?

Yes. Of course. There are UDP, TCP, MQTT, http(s) nodes built in and hundreds of ethernet based protocol nodes in the library.

Whatever your question is, the majority of answers are "yes, you can do that with node-red"

---

<div class="post-metadata">

**Author:** ![Jhontan14](https://avatars.discourse-cdn.com/v4/letter/j/2acd7d/32.png) [@Jhontan14](https://discourse.nodered.org/u/Jhontan14)\
**Post date:** [2 June 2023 21:44 UTC](https://discourse.nodered.org/t/read-data-through-an-ethernet-port/78909/3 "2023-06-02T21:44:06Z")

</div>

Basically I wanted to receive data from the scale through IP

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [2 June 2023 21:58 UTC](https://discourse.nodered.org/t/read-data-through-an-ethernet-port/78909/4 "2023-06-02T21:58:39Z")

</div>

There are a number of solutions possible.

1 such solution is to use an off the shelf serial server that will present the rs232 device as a device on a TCP/UDP network. These can be a little expensive but equally you cou use an esp32 or similar SBC and relay the serial data over the network

As I said before, the answer is almost always yes.

---

<div class="post-metadata">

**Author:** ![Jean-Luc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jean-luc/32/89996_2.png) [@Jean-Luc](https://discourse.nodered.org/u/Jean-Luc)\
**Post date:** [3 June 2023 12:53 UTC](https://discourse.nodered.org/t/read-data-through-an-ethernet-port/78909/5 "2023-06-03T12:53:48Z")

</div>

To deport the serial port to Ethernet, I use this [kind](https://fr.aliexpress.com/item/32918555661.html?search_direct=true&spm=a2g0o.productlist.0.0&gatewayAdapt=glo2fra) of ready-made functional product. Fully accessible in NR via TCP request nodes, for example.  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/b/1b47f8fbc56ac2fd0c802ac1827cd8d736e5a1fc.png)

At a reasonable price \< 10 €

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/7/b743b25c9befe5a9a8bcd4bc82afac684eef8ccb.jpeg)

---

<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:** [2 August 2023 12:54 UTC](https://discourse.nodered.org/t/read-data-through-an-ethernet-port/78909/6 "2023-08-02T12:54:25Z")

</div>

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