Wrong network interface on Linux

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
j0rge1523
Posts: 2
Joined: Sat Oct 14, 2023 5:04 am

Wrong network interface on Linux

Post by j0rge1523 »

I just installed ums on Linux and I can't load the web interface on other devices. I think that it is using the wrong network interface. I want to change that, but I can't find settings. There is no "settings" item in the hamburger icon menu
Screenshot from 2023-10-13 12-16-15.png
Screenshot from 2023-10-13 12-16-15.png (5.59 KiB) Viewed 1185 times
Here is my log file
umslog.txt
(92.4 KiB) Downloaded 44 times
User avatar
mik_s
Moderator
Posts: 1130
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: Wrong network interface on Linux

Post by mik_s »

The web interface is on http://localhost:9001/ and the standalone player on http://localhost:9002/

Looking at your log the web GUI is not able to start

Code: Select all

Failed to start web graphical user interface server (/0.0.0.0:9001) : Address already in use
which is causing this error

Code: Select all

INFO  2023-10-13 12:04:04.037 [Web GUI browser] Launching the graphical interface on a browser
INFO  2023-10-13 12:04:04.037 [Web GUI browser] Exception in thread "Web GUI browser" java.lang.NullPointerException: Cannot invoke "String.length()" because "this.input" is null
INFO  2023-10-13 12:04:04.037 [Web GUI browser] 	at java.base/java.net.URI$Parser.parse(Unknown Source)
INFO  2023-10-13 12:04:04.037 [Web GUI browser] 	at java.base/java.net.URI.<init>(Unknown Source)
INFO  2023-10-13 12:04:04.037 [Web GUI browser] 	at net.pms.platform.PlatformUtils.browseURI(PlatformUtils.java:147)
INFO  2023-10-13 12:04:04.037 [Web GUI browser] 	at net.pms.PMS$2.run(PMS.java:644)
but the web player is working.

Code: Select all

Web player is available at: http://172.17.0.1:9002
I don't know enough about Linux or networking to give any specific help but it must be something to do with how you have the network configured, as both web player and web GUI should be on the same IP just different ports.

UMS may also be using the wrong network interface when starting but I could not see much as your logs weren't in trace mode.
As you cannot launch the GUI to change logging modes you can add

Code: Select all

log_level =TRACE
to UMS.conf and restart it.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
j0rge1523
Posts: 2
Joined: Sat Oct 14, 2023 5:04 am

Re: Wrong network interface on Linux

Post by j0rge1523 »

Yes, I'm already using port 9001 for something else. Is there a way to change the web GUI port?
boss
Posts: 348
Joined: Thu Jun 30, 2016 1:07 pm

Re: Wrong network interface on Linux

Post by boss »

Yes, I'm already using port 9001 for something else. Is there a way to change the web GUI port?
You can edit the UMS.conf file to change that.
/Username/.config/UMS/UMS.conf

Change:
# Web gui port
# --------
# The port that the web gui can be accessed by.
# Example: 7000, which means the web gui is at localhost:7000
# Default: 9001
web_gui_port =

to a port of your choice.
EG: web_gui_port = 8001
Post Reply