SMBLibrary project on GitHub appears to be is exactly what I am looking for. I need something to abstract a db to look like a file system, accessible via UNC path.
I am using Windows 10, Visual Studio as Administrator. I installed the MS Loopback Adapter, and disabled the other adapters. I have stopped the "Server" service.
Running the the server on 127.0.0.1, port 445 I receive the following error:
System.Net.Sockets.SocketException
HResult=0x80004005
Message=An attempt was made to access a socket in a way forbidden by its access permissions
Source=System
StackTrace:
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at SMBLibrary.Server.SMBServer.Start(IPAddress serverAddress, SMBTransportType transport, Boolean enableSMB1, Boolean enableSMB2, Nullable`1 connectionInactivityTimeout) in C:\Users\josep\Source\Repos\SMBLibrary\SMBLibrary\Server\SMBServer.cs:line 87
I am expecting to run the server app, then using explorer navigate to \127.0.0.1
It is not clear from Read.me if this is correct or not.
User contributions licensed under CC BY-SA 3.0