title: Java - WatchService another machine folder
body: <p>Is there a way to use watch for file change in another machine using IP address?</p>
  
  <p>Currently my code are:</p>
  
  <pre><code>WatchService ws = FileSystems.getDefault().newWatchService();
  </code></pre>
  
  <p><code>Path d = FileSystem.getDefault().getPath(System.getProperty("user.dir"),"");
   WatchKey wk  = dir.register(ws, .... , ...);</code></p>
  
  <p>Anyway to change the Path variable to point to a folder in another IP. I.e 192.168.123.123?</p>