# Unable to open socket towards an external device connected to the UR Sim

**URL:** <https://forum.universal-robots.com/t/unable-to-open-socket-towards-an-external-device-connected-to-the-ur-sim/42914>\
**Category:** Robot Communication\
**Created:** [June 11, 2026, 8:55am UTC](https://forum.universal-robots.com/t/unable-to-open-socket-towards-an-external-device-connected-to-the-ur-sim/42914 "2026-06-11T08:55:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefanoan](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@stefanoan](https://forum.universal-robots.com/u/stefanoan)\
**Post date:** [June 11, 2026, 8:55am UTC](https://forum.universal-robots.com/t/unable-to-open-socket-towards-an-external-device-connected-to-the-ur-sim/42914/1 "2026-06-11T08:55:24Z")

</div>

Goodmorning, I’ve just installad the UR sim by using the Polyscope X SDK. I’m running the simulation and I would connect the sim to an external device by opening a socket (ip: 192.168.0.167 and port: 300). With the previous ur sim based on Polyscope 3.x and 5.x I was able to open and close the socket (with UR script), but in this case, I can ping the external device from the docker container, but not able to open the socket. Are some steps that I’m missing? Thank you very much for the help!

---

<div class="post-metadata">

**Author:** ![dbarton](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@dbarton](https://forum.universal-robots.com/u/dbarton)\
**Post date:** [June 11, 2026, 3:27pm UTC](https://forum.universal-robots.com/t/unable-to-open-socket-towards-an-external-device-connected-to-the-ur-sim/42914/2 "2026-06-11T15:27:12Z")

</div>

it’s likely something you need to enable in polyscope x settings first. look for security or admin section. I don’t have it in front of me right now.

---

<div class="post-metadata">

**Author:** ![stefanoan](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@stefanoan](https://forum.universal-robots.com/u/stefanoan)\
**Post date:** [June 11, 2026, 3:40pm UTC](https://forum.universal-robots.com/t/unable-to-open-socket-towards-an-external-device-connected-to-the-ur-sim/42914/3 "2026-06-11T15:40:41Z")

</div>

[Working with the PolyScope X Simulator — PolyScope X - SDK Documentation 0.20 documentation](https://docs.universal-robots.com/PolyScopeX_SDK_Documentation/build/SDK-v0.20/HowToGuides/working-with-simulator.html) I jave just checked this docs but I have not been able to solve the problem. Did you reach to connect to an external device through socket connection by using the UR sim and not the real robot? Thank you very much for your reply.
