Socket Webui listen on localhost instead of 0.0.0.0, webui not display

Issue #10 resolved
stephane created an issue

Hi,

just tested on a Qnap NAS the webui, it seems it listen on localhost instead of 0.0.0.0 impossible to connect over a web browser.

did a netstat : tcp 0 0 127.0.0.1:8083 0.0.0.0:* LISTEN here the logs

INFO 2014-12-26 18:17:49.103 [main] Configuration saved to: /share/homes/admin/.config/UMS/UMS.conf INFO 2014-12-26 18:17:49.104 [main] WebInterface: Parsing method mapping and loading the configuration data DEBUG 2014-12-26 18:17:49.104 [main] Reading webinterface.root: default: null, previous: null, current: "WIROOT" INFO 2014-12-26 18:17:49.105 [main] WebInterface: method mapping file retrieved from (Jar) -> jar:file:/share/CACHEDEV1_DATA/.qpkg/UniversalMediaServer/plugins/ums-web-interface-2.0.0-a2.jar!/WEB/ums_params_def.json DEBUG 2014-12-26 18:17:49.653 [main] Reading webinterface.proxy.host: default: null, previous: null, current: "" DEBUG 2014-12-26 18:17:49.653 [main] Reading webinterface.proxy.port: default: null, previous: null, current: "-1" DEBUG 2014-12-26 18:17:49.653 [main] Reading webinterface.proxy.user: default: null, previous: null, current: "" DEBUG 2014-12-26 18:17:49.654 [main] Reading webinterface.proxy.pass: default: null, previous: null, current: "" DEBUG 2014-12-26 18:17:49.654 [main] Reading webinterface.proxy.enable: default: null, previous: null, current: "false" INFO 2014-12-26 18:17:49.660 [main] WebInterface: backing up your /share/homes/admin/.config/UMS/WEB.conf as /share/homes/admin/.config/UMS/WEB.conf.bak INFO 2014-12-26 18:17:49.661 [main] WebInterface: parsing web feed file /share/homes/admin/.config/UMS/WEB.conf DEBUG 2014-12-26 18:17:49.693 [main] Reading webinterface.port: default: null, previous: null, current: "8083" DEBUG 2014-12-26 18:17:49.710 [main] Using SLF4J as the default logging framework DEBUG 2014-12-26 18:17:49.722 [main] -Dio.netty.leakDetectionLevel: simple DEBUG 2014-12-26 18:17:49.736 [main] java.nio.Buffer.address: available DEBUG 2014-12-26 18:17:49.737 [main] sun.misc.Unsafe.theUnsafe: available DEBUG 2014-12-26 18:17:49.738 [main] sun.misc.Unsafe.copyMemory: available DEBUG 2014-12-26 18:17:49.738 [main] java.nio.Bits.unaligned: true DEBUG 2014-12-26 18:17:49.741 [main] UID: 0 DEBUG 2014-12-26 18:17:49.742 [main] Java version: 7 DEBUG 2014-12-26 18:17:49.743 [main] -Dio.netty.noUnsafe: false DEBUG 2014-12-26 18:17:49.743 [main] sun.misc.Unsafe: available DEBUG 2014-12-26 18:17:49.743 [main] -Dio.netty.noJavassist: false DEBUG 2014-12-26 18:17:49.745 [main] Javassist: unavailable DEBUG 2014-12-26 18:17:49.745 [main] You don't have Javassist in your class path or you don't have enough permission to load dynamically generated classes. Please check the configuration for better performance. DEBUG 2014-12-26 18:17:49.746 [main] -Dio.netty.tmpdir: /tmp (java.io.tmpdir) DEBUG 2014-12-26 18:17:49.746 [main] -Dio.netty.bitMode: 32 (sun.arch.data.model) DEBUG 2014-12-26 18:17:49.746 [main] -Dio.netty.noPreferDirect: false INFO 2014-12-26 18:17:49.956 [main] Session store / pubsub factory used: MemoryStoreFactory (local session store only) DEBUG 2014-12-26 18:17:49.969 [main] -Dio.netty.eventLoopThreads: 8 DEBUG 2014-12-26 18:17:50.016 [main] -Dio.netty.noKeySetOptimization: false DEBUG 2014-12-26 18:17:50.016 [main] -Dio.netty.selectorAutoRebuildThreshold: 512 DEBUG 2014-12-26 18:17:50.065 [main] -Dio.netty.allocator.type: unpooled DEBUG 2014-12-26 18:17:50.066 [main] -Dio.netty.threadLocalDirectBufferSize: 65536 DEBUG 2014-12-26 18:17:50.155 [main] -Dio.netty.initialSeedUniquifier: 0xc1679aae461ce9a4 (took 1 ms) DEBUG 2014-12-26 18:17:50.194 [main] Loopback interface: lo (lo, 127.0.0.1) DEBUG 2014-12-26 18:17:50.195 [main] /proc/sys/net/core/somaxconn: 128 INFO 2014-12-26 18:17:50.214 [main] WebInterface: the interface is available at http://localhost:8083/web/gui INFO 2014-12-26 18:17:50.215 [nioEventLoopGroup-2-1] SocketIO server started at port: 8083

thanks for your help,

Comments (3)

  1. Ivan Greguric Ortolan repo owner

    Really sorry for the delay.. An option has been added and enables you to set the bind host. It will default to "0.0.0.0" but you can chage it in the UMS.conf file in the 'webinterface.host' property.

  2. Log in to comment