# Socket communication between two networks having two different IP addresses

**URL:** <https://forum.universal-robots.com/t/socket-communication-between-two-networks-having-two-different-ip-addresses/25269>\
**Category:** Robot Communication\
**Created:** [November 25, 2022, 5:12am UTC](https://forum.universal-robots.com/t/socket-communication-between-two-networks-having-two-different-ip-addresses/25269 "2022-11-25T05:12:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rushiadawade2212](https://avatars.discourse-cdn.com/v4/letter/r/7c8e57/32.png) [@rushiadawade2212](https://forum.universal-robots.com/u/rushiadawade2212)\
**Post date:** [November 25, 2022, 5:12am UTC](https://forum.universal-robots.com/t/socket-communication-between-two-networks-having-two-different-ip-addresses/25269/1 "2022-11-25T05:12:36Z")

</div>

Hello there,

I am facing a problem in which I am trying to share data between two networks having two different IP addresses by socket communication.  
So my question is that is it possible to share data in such way.

IP address of cobot- 172.20.197.151  
another IP address from which I am trying to receive data- 10.187.6.229

One more point is I am able to ping 10.187.6.229 this IP address from Cobot.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![terryc](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/terryc/32/3006_2.png) [@terryc](https://forum.universal-robots.com/u/terryc)\
**Post date:** [November 25, 2022, 4:17pm UTC](https://forum.universal-robots.com/t/socket-communication-between-two-networks-having-two-different-ip-addresses/25269/2 "2022-11-25T16:17:13Z")

</div>

What exactly is the network topology. Same LAN different subnets?

Any time you interface with a windows computer you’re probably going to have to create some new rules in windows firewall to let your socket communication from the robot in.
