# Xmlrpc on Windows

**URL:** <https://forum.universal-robots.com/t/xmlrpc-on-windows/8572>\
**Category:** Robot Communication\
**Tags:** xmlrpc\
**Created:** [August 25, 2020, 4:08pm UTC](https://forum.universal-robots.com/t/xmlrpc-on-windows/8572 "2020-08-25T16:08:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![s\_c](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@s\_c](https://forum.universal-robots.com/u/s_c)\
**Post date:** [August 25, 2020, 4:08pm UTC](https://forum.universal-robots.com/t/xmlrpc-on-windows/8572/1 "2020-08-25T16:08:02Z")

</div>

I would like to know if it’s possibile to implement the xmlrpc server on Windows10. We tried to implement it and execute the code, but the robot connection timed out. It looks like the robot cannot communicate with the server on Windows (on Ubuntu, the same code runs perfectly).

---

<div class="post-metadata">

**Author:** ![ajp](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/ajp/32/471_2.png) [@ajp](https://forum.universal-robots.com/u/ajp)\
**Post date:** [September 1, 2020, 2:32am UTC](https://forum.universal-robots.com/t/xmlrpc-on-windows/8572/2 "2020-09-01T02:32:56Z")

</div>

I’d put my money on Windows firewall blocking it…

I saw the same connection timed out behavior until I disabled the firewall on my windows 10 machine, then it worked fine with python 3.8.

---

<div class="post-metadata">

**Author:** ![s\_c](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@s\_c](https://forum.universal-robots.com/u/s_c)\
**Post date:** [September 2, 2020, 3:28pm UTC](https://forum.universal-robots.com/t/xmlrpc-on-windows/8572/3 "2020-09-02T15:28:13Z")

</div>

Thank you very much! Without the firewall everything works perfectly!

---

<div class="post-metadata">

**Author:** ![florent.monbrun](https://avatars.discourse-cdn.com/v4/letter/f/b3f665/32.png) [@florent.monbrun](https://forum.universal-robots.com/u/florent.monbrun)\
**Post date:** [December 7, 2021, 11:50am UTC](https://forum.universal-robots.com/t/xmlrpc-on-windows/8572/4 "2021-12-07T11:50:09Z")

</div>

Hello,

I have exactly the same problem. The firewall blocks the communication under window 10.  
Is there a procedure to configure the firewall both way between the robot and the computer ?  
I do not want to shut down my firewall on my computer, I have an internet connection on it.

Thanks for support

Florent.

---

<div class="post-metadata">

**Author:** ![androidflorent](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/androidflorent/32/3314_2.png) [@androidflorent](https://forum.universal-robots.com/u/androidflorent)\
**Post date:** [December 7, 2021, 1:36pm UTC](https://forum.universal-robots.com/t/xmlrpc-on-windows/8572/5 "2021-12-07T13:36:27Z")

</div>

You also have a firewall inside the robot :  
Settings / Security / General  
If in the parameter Restriction you specify the port of the XML RPC server (or a range containing it) the connection fails

---

<div class="post-metadata">

**Author:** ![florent.monbrun](https://avatars.discourse-cdn.com/v4/letter/f/b3f665/32.png) [@florent.monbrun](https://forum.universal-robots.com/u/florent.monbrun)\
**Post date:** [December 7, 2021, 2:57pm UTC](https://forum.universal-robots.com/t/xmlrpc-on-windows/8572/6 "2021-12-07T14:57:03Z")

</div>

Thank you @androidflorent. I checked the parameter restriction under the robot and it is blank.  
So it’s my firewall configuration which is not enough permissive.

---

<div class="post-metadata">

**Author:** ![florent.monbrun](https://avatars.discourse-cdn.com/v4/letter/f/b3f665/32.png) [@florent.monbrun](https://forum.universal-robots.com/u/florent.monbrun)\
**Post date:** [January 10, 2022, 1:54pm UTC](https://forum.universal-robots.com/t/xmlrpc-on-windows/8572/7 "2022-01-10T13:54:47Z")

</div>

More details on the solution found for a python xmlrpc server running under windows 10.

# Python xmlrpc server :

 ![xmlrp_server](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/3/31e23917f9ae312d7bbe4f1ffc67eac30663c84f.png)

# Firewall configuration

I created a new rule in the firewall for the incoming communication : Python\_for\_xmlrpc\_50000

- I autorise the connection on the python397 application to an external computer / robot  

- I autorise all the connections  

- but only on the port 5000 ↔ same as my server
