# TCP connection over lan apk

**URL:** https://discourse.nodered.org/t/tcp-connection-over-lan-apk/6754
**Category:** General
**Created:** [13 January 2019 19:29 UTC](https://discourse.nodered.org/t/tcp-connection-over-lan-apk/6754 "2019-01-13T19:29:21Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![davidcgu](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@davidcgu](https://discourse.nodered.org/u/davidcgu)
#### Post date: [13 January 2019 19:29 UTC](https://discourse.nodered.org/t/tcp-connection-over-lan-apk/6754/1 "2019-01-13T19:29:21Z")

</div>

This must be a silly question most probably but my knowledge on programming is very limited.

I have one application that works on my mobile only when I'm connected to my lan to control remotely a printer.

I'm also able to connect to the printer and use a fet readings and controls with some specific software that is not designed for this printer indicating a TCP connection and the port, however as this windows application is not designed for this printer some info and some commands don't work.

I tried in node red to set a tcp node to a debug in order if I was able to read the data somehow, most probably this was a stupid assumption that obiously didn't work.

There is any way I can try to understand how to send and receive info via TCP to this specific IP on my lan? As the application from my mobile phone does, I don't know if maybe is some way to monitor the traffic and understand how it works.

Thanks in advance

---

<div class="post-metadata">

### Author: ![hathemi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hathemi/32/3792_2.png) [@hathemi](https://discourse.nodered.org/u/hathemi)
#### Post date: [30 April 2019 14:58 UTC](https://discourse.nodered.org/t/tcp-connection-over-lan-apk/6754/2 "2019-04-30T14:58:44Z")

</div>

Hey, have you found a solution on how to send/receive info to specific 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: [30 April 2019 21:39 UTC](https://discourse.nodered.org/t/tcp-connection-over-lan-apk/6754/3 "2019-04-30T21:39:22Z")

</div>

Use wireshark to see the traffic and work out what is sent and what the reply is. Then you can inject these commands yourself.
