# "No Route to Host" with XML-RPC example (solved)

**URL:** <https://forum.universal-robots.com/t/no-route-to-host-with-xml-rpc-example-solved/13581>\
**Category:** Technical Questions\
**Created:** [April 13, 2021, 9:39am UTC](https://forum.universal-robots.com/t/no-route-to-host-with-xml-rpc-example-solved/13581 "2021-04-13T09:39:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon22182410](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@anon22182410](https://forum.universal-robots.com/u/anon22182410)\
**Post date:** [April 13, 2021, 9:39am UTC](https://forum.universal-robots.com/t/no-route-to-host-with-xml-rpc-example-solved/13581/1 "2021-04-13T09:39:11Z")

</div>

I am currently trying to make the XML-RPC communication example ([XML-RPC communication - 16326](https://www.universal-robots.com/articles/ur/interface-communication/xml-rpc-communication/)) work, but I am getting stuck at the camera.get\_next\_pose() line with a “No route to host error” and I am not sure if am missing something very obvious here.

- I changed the IP-address in the UR-example program to the one of my server [http://192.168.1.50:50000](http://192.168.1.50:50000)

- I made sure that port 50000 on my server pc is open in the firewall

- I can reach the server from another PC in the same network via [http://192.168.1.50:50000](http://192.168.1.50:50000)

- the ethernet plug is connected and blinking

- I can see the UR-PC is connected to my Fritz.box (it does not acquire an IP address, not sure if that is expected behavior)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/d/ded52758ae4932577b8c0354411cbba3450d8fbf.png)

- I just checked the “about” screen in URSoftware and there is says its own IP address is 192.168.31.10 - does that mean that it is in a different subnet?

Any tips?

---

<div class="post-metadata">

**Author:** ![anon22182410](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@anon22182410](https://forum.universal-robots.com/u/anon22182410)\
**Post date:** [April 13, 2021, 10:15am UTC](https://forum.universal-robots.com/t/no-route-to-host-with-xml-rpc-example-solved/13581/2 "2021-04-13T10:15:42Z")

</div>

I found the solution - I was indeed missing something obvious:

The network settings in URProgram were set to “static”. After changing it to DHCP the robot is on the same subnet and now the connection works.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/system/32/1_2.png) [@system](https://forum.universal-robots.com/u/system)\
**Post date:** [April 15, 2021, 10:15am UTC](https://forum.universal-robots.com/t/no-route-to-host-with-xml-rpc-example-solved/13581/3 "2021-04-15T10:15:54Z")

</div>

Closed on April 15, 2021, 10:15am UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
