# Need to test a TCP/IP Connection to my server :port address from WP8548 Module through SIM data

**URL:** <https://forum.legato.io/t/need-to-test-a-tcp-ip-connection-to-my-server-port-address-from-wp8548-module-through-sim-data/2202>\
**Category:** Legato Application Framework\
**Created:** [October 25, 2016, 1:26am UTC](https://forum.legato.io/t/need-to-test-a-tcp-ip-connection-to-my-server-port-address-from-wp8548-module-through-sim-data/2202 "2016-10-25T01:26:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Suruchi](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@Suruchi](https://forum.legato.io/u/Suruchi)\
**Post date:** [October 25, 2016, 1:26am UTC](https://forum.legato.io/t/need-to-test-a-tcp-ip-connection-to-my-server-port-address-from-wp8548-module-through-sim-data/2202/1 "2016-10-25T01:26:42Z")

</div>

Hi All,

I am trying to implement the Protocol Stack on my WP85 module. I can add TCP Server with 0.0.0.0:20000 and listen/talk to any Server which talk on 20000 port through the USB cable connection.

Now I want talk to the cloud server with specific ip:port over internet. I have already use the le\_avc ,le\_avcdata and le\_data services. Was successfuly able to send the data to the Airvantage. But now my requirement is to sent data to my SCADA cloud server on specific IP over data connection through SIM card.

I have used the correct api’s to connect the data usingle\_data\_Request() & le\_data\_ConnectService(); and verified that the data is connected from my separate thread.

But when I try to add the my ip:port int the add server its unable to talk to the clould port.

Any suggestions or way to test my connection to the specific IP : port from legato…will be appreciated.

After establising the connection from my app … if I do a cm data it says connected …so i assume the data session has been created but how to use it to reach the IP over internet…

Thanks  
Suruchi

---

<div class="post-metadata">

**Author:** ![jchitty](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jchitty/32/72_2.png) [@jchitty](https://forum.legato.io/u/jchitty)\
**Post date:** [October 25, 2016, 10:04pm UTC](https://forum.legato.io/t/need-to-test-a-tcp-ip-connection-to-my-server-port-address-from-wp8548-module-through-sim-data/2202/2 "2016-10-25T22:04:40Z")

</div>

You can test connectivity to a specific TCP port using telnet.
