_newURI += uri.getPort();
_newURI += uri.getPath();
try {
// TODO: Compute distance properly.
result.add(new DiscoveredPluginImpl(method, new URI(_newURI), pingTime.get(), p.timeSinceExport));
} catch (final URISyntaxException e) {
e.printStackTrace();
}
}
} catch (final Exception e) {