(08-08-2012 13:21)simoncn Wrote: Quote:Side question: if it possible to restrict the network interfaces minimserver will bind to ?
Not at present. ohNet has an option for a device to listen on a single subnet only. Would this be useful to you?
Yes, for a very specific usage as I'm building a BubbleUPnPServer public demo server, that wraps minimserver, and I'd like miniserver to bind to 127.0.0.1 only. I can certainly work something out using iptables though.
I found a harmless Exception triggerable when there is no contentDir prop it seems (I had it happen also when typing the props command):
Code:
...@...:/opt/minimserver-0.52/data# java -Djava.awt.headless=true -jar ../lib/minimserver.jar
MinimServer 0.52, Copyright (c) 2012 Simon Nash. All rights reserved.
starting MinimServer
Enter command (? for help), or null to exit:
>Enter content directory, or null line to exit:
props
albumSortTags=Album, Artist
delayStart=0
displayName=MinimServer:...
indexTags=Artist, Date, Genre, All Artists, Composer, Conductor, Orchestra
showExtras=true
upnpComposer=artist
.logFile=minimserver.log
http.port=9790
>about
java.lang.NullPointerException
at org.jminim.core.LogImpl.getStackTrace(LogImpl.java:592)
at org.jminim.core.LogImpl.printStackTraceSync(LogImpl.java:538)
at org.jminim.core.LogImpl.warning(LogImpl.java:284)
at com.minimserver.ServerConsole$ServerConsoleView.getContentDir(ServerConsole.java:282)
at com.minimserver.Server.doStart(Server.java:930)
at com.minimserver.Server.start(Server.java:424)
at org.jminim.core.ContextImpl.startComponent(ContextImpl.java:171)
at org.jminim.core.ContextImpl.start(ContextImpl.java:87)
at org.jminim.core.RootContextImpl.startComponent(RootContextImpl.java:36)
at org.jminim.core.ContextImpl.start(ContextImpl.java:87)
at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:373)
at org.jminim.core.LauncherImpl.run(LauncherImpl.java:658)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:81)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.jminim.launch.Launcher.launch(Launcher.java:60)
at com.minimserver.launch.LaunchServer.main(LaunchServer.java:26)
about
Selected media server is MinimServer:....
MinimServer 0.52, Copyright (c) 2012 Simon Nash. All rights reserved.
Running on ....