title: VSOMEIP - Communication between 2 devices (TCP/UDP) Not working
body: <p>Following the VSOMEIP tutorial <a href="https://github.com/GENIVI/vsomeip/wiki/vsomeip-in-10-minutes" rel="nofollow noreferrer">Vsomeip in 10 minutes</a> everything works up to the point of <a href="https://github.com/GENIVI/vsomeip/wiki/vsomeip-in-10-minutes#devices" rel="nofollow noreferrer">Communication between 2 devices</a>. </p>
  
  <p>Current Setup:</p>
  
  <ul>
  <li>Ubuntu 16.04 (two machines - Server &amp; Client)</li>
  <li>Two Machines connected over ethernet</li>
  </ul>
  
  <p>Files used:</p>
  
  <ul>
  <li>server.cpp</li>
  <li>client.cpp</li>
  <li>client_config.json</li>
  <li>server_config.json</li>
  </ul>
  
  <p><strong>Output of Server</strong>
  <div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>[info] Parsed vsomeip configuration in 1ms
  [info] Using configuration file: "../clie_prop.json".
  [info] Default configuration module loaded.
  [info] Initializing vsomeip application "Hello".
  [info] SOME/IP client identifier configured. Using 0033 (was: 1313)
  [info] Instantiating routing manager [Proxy].
  [info] Client [33] is connecting to [0] at /tmp/vsomeip-0
  [info] Listening at /tmp/vsomeip-33
  [info] Application(Hello, 33) is initialized (11, 100).
  [info] Starting vsomeip application "Hello" using 2 threads
  [warning] local_client_endpoint::connect: Couldn't connect to: /tmp/vsomeip-0 (Connection refused / 111)
  [info] io thread id from application: 0033 (Hello) is: 7f80f5cd88c0 TID: 1497
  [info] routing_manager_proxy::on_disconnect: Client 0x33 calling host_-&gt;on_state with DEREGISTERED
  [info] io thread id from application: 0033 (Hello) is: 7f80f15e7700 TID: 1501
  [info] shutdown thread id from application: 0033 (Hello) is: 7f80f1de8700 TID: 1500
  [info] main dispatch thread id from application: 0033 (Hello) is: 7f80f25e9700 TID: 1499
  [warning] local_client_endpoint::connect: Couldn't connect to: /tmp/vsomeip-0 (Connection refused / 111)
  [info] routing_manager_proxy::on_disconnect: Client 0x33 calling host_-&gt;on_state with DEREGISTERED
  [warning] local_client_endpoint::connect: Couldn't connect to: /tmp/vsomeip-0 (Connection refused / 111)
  [info] routing_manager_proxy::on_disconnect: Client 0x33 calling host_-&gt;on_state with DEREGISTERED
  [warning] local_client_endpoint::connect: Couldn't connect to: /tmp/vsomeip-0 (Connection refused / 111)
  [info] routing_manager_proxy::on_disconnect: Client 0x33 calling host_-&gt;on_state with DEREGISTERED
  [warning] local_client_endpoint::connect: Couldn't connect to: /tmp/vsomeip-0 (Connection refused / 111)
  [info] routing_manager_proxy::on_disconnect: Client 0x33 calling host_-&gt;on_state with DEREGISTERED
  [warning] local_client_endpoint::connect: Couldn't connect to: /tmp/vsomeip-0 (Connection refused / 111)
  [info] routing_manager_proxy::on_disconnect: Client 0x33 calling host_-&gt;on_state with DEREGISTERED</code></pre>
  </div>
  </div>
  </p>
  
  <p><strong>Output of Client</strong>
  <div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>[info] Parsed vsomeip configuration in 0ms
  [info] Using configuration file: "../serv_prop.json".
  [info] Default configuration module loaded.
  [info] Initializing vsomeip application "World".
  [warning] Routing Manager seems to be inactive. Taking over...
  [info] SOME/IP client identifier configured. Using 1212 (was: 1212)
  [info] Instantiating routing manager [Host].
  [info] init_routing_endpoint Routing endpoint at /tmp/vsomeip-0
  [info] Client [1212] is connecting to [0] at /tmp/vsomeip-0
  [info] Service Discovery enabled. Trying to load module.
  [info] Service Discovery module loaded.
  [info] Application(World, 1212) is initialized (11, 100).
  [info] OFFER(1212): [1234.5678:0.0]
  [info] Starting vsomeip application "World" using 2 threads
  [info] Watchdog is disabled!
  [info] io thread id from application: 1212 (World) is: 7fa68723d8c0 TID: 5370
  [info] Network interface "enp0s3" state changed: up
  [info] vSomeIP 2.10.21 | (default)
  [info] Sent READY to systemd watchdog
  [info] io thread id from application: 1212 (World) is: 7fa6828f3700 TID: 5374
  [info] shutdown thread id from application: 1212 (World) is: 7fa6838f5700 TID: 5372
  [info] main dispatch thread id from application: 1212 (World) is: 7fa6840f6700 TID: 5371
  [warning] Releasing client identifier 0003. Its corresponding application went offline while no routing manager was running.
  [info] Application/Client 0003 is deregistering.</code></pre>
  </div>
  </div>
  </p>
  
  <p>All the code used is the same as the code used in <a href="https://github.com/GENIVI/vsomeip/wiki/vsomeip-in-10-minutes#request" rel="nofollow noreferrer">Request/Response</a> in the vsomeip tutorial. The <strong>config files</strong> are the same as the config file specified in the <a href="https://github.com/GENIVI/vsomeip/wiki/vsomeip-in-10-minutes#devices" rel="nofollow noreferrer">communication between 2 devices</a> section <strong>with the IP Addresses changed to match my machine addresses</strong>.</p>
  
  <p>Any help would be greatly appreciated, thanks. </p>