[jcifs] Named Pipe
Michael B Allen
mba2000 at ioplex.com
Thu Oct 16 14:30:09 EST 2003
> C:\java\jcifs_0.7.14\examples>java PipeTalk
> Exception in thread "main" jcifs.smb.SmbException: Connection refused:
This is a low level networking error. The localhost is simply not
accepting connections on port 139. Win2K on a laptop for example will not
listen on localhost unless another network interface is active. This is
likely true of other Windows systems. It is a power management feature.
Try Start > Run and type '\\localhost\foo' where foo is a shared folder.
Also try '\\127.0.0.1\foo' and so on...
A program should be written to model the concepts of the task it
performs rather than the physical world or a process because this
maximizes the potential for it to be applied to tasks that are
conceptually similar and, more important, to tasks that have not
yet been conceived.
More information about the jcifs