# java.net.NoRouteToHostException: No route to host: connect

**URL:** <https://forum.inductiveautomation.com/t/java-net-noroutetohostexception-no-route-to-host-connect/9924>\
**Category:** Ignition\
**Created:** [April 16, 2015, 7:22pm UTC](https://forum.inductiveautomation.com/t/java-net-noroutetohostexception-no-route-to-host-connect/9924 "2015-04-16T19:22:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![liberty810](https://avatars.discourse-cdn.com/v4/letter/l/a6a055/32.png) [@liberty810](https://forum.inductiveautomation.com/u/liberty810)\
**Post date:** [April 16, 2015, 7:22pm UTC](https://forum.inductiveautomation.com/t/java-net-noroutetohostexception-no-route-to-host-connect/9924/1 "2015-04-16T19:22:42Z")

</div>

Hello,

I’m running Gateway version 7.7.3 on my laptop which is connected to an AB PLC. After configuring the connection to the PLC, I try to run the Quick Client, however, the Ignition OPC-UA Server itself is Faulted. The error message is: java.net.NoRouteToHostException: No route to host: connect.

According to the [java docs](https://docs.oracle.com/javase/7/docs/api/java/net/NoRouteToHostException.html) this means:  
Signals that an error occurred while attempting to connect a socket to a remote address and port. Typically, the remote host cannot be reached because of an intervening firewall, or if an intermediate router is down.

However, this is all running on a single laptop. Another post suggested that the protocol stack in windows might shut down if nothing is connected, however I’m connected to the PLC via a switch.

Any ideas? Why would this error come up if this is running on a single machine?

Thanks in advance for your help!

---

<div class="post-metadata">

**Author:** ![liberty810](https://avatars.discourse-cdn.com/v4/letter/l/a6a055/32.png) [@liberty810](https://forum.inductiveautomation.com/u/liberty810)\
**Post date:** [April 17, 2015, 4:12pm UTC](https://forum.inductiveautomation.com/t/java-net-noroutetohostexception-no-route-to-host-connect/9924/2 "2015-04-17T16:12:02Z")

</div>

Eventually found the source of the issue:

Configure -\> OPC-UA: Settings -\> Server: Endpoint address  
The address was set to some other IP, so I had to change it to the static IP I set for the LAN adapter.
