[jcifs] NoRouteToHostException?

Michael B Allen mba2000 at ioplex.com
Mon Oct 3 17:35:32 GMT 2005


On Mon, 3 Oct 2005 19:17:32 +0200 (MEST)
haendehochdasisein at mailueberfall.de wrote:

> Hi,
> 
> I try to connect to a samba server with JCIFS but fail with an
> NoRouteToHostException.
> 
> This is the simple code I use:
> 
> try {
>   SmbFile smb = new SmbFile("smb://10.149.47.2");

Try adding a trailing slash. I don't see why that would have any effect
on a low level networking error like this but that URL is invalid.

Mike


More information about the jcifs mailing list