Hi @Antoine
After restarting my Ubuntu server Audirvana Studio changes the port it communicates on.
This is troublesome if the UFW is active.
Is port change dictated by higher considerations and must it be so, or can it be changed - once communication stabilizes, the established port will remain after server restart?
Hi @lwojtulewicz,
Good question, and I have the answer for you: wait for the next update
We will add the option to fix the port it in the next Linux update, you will see the new options in the configuration file
I’m glad, thanks for the good news!
Hi, is this already possible? I’ve been going through the settings, but I can’t seem to find it.
We are still patiently waiting for this setting to be implemented.
Hi guys,
Have you looked at the InstallConfiguration file of Audirvāna on Linux in the latest version?
You should see this in it:
-
remoteServerPort: integer to set the port number for the remote server. If not available, then an available port is chosen by the system. Must be greater than or equal to 49152
-
upnpServerPort: An integer to set the port number for the UPnP and Chromecast servers. If the port is not available, the system chooses an available port.
Hi,
Where is this file located? Searching for the file gives no results.
Adding
remoteServerPort = 49152
upnpServerPort = 49153
to ~/.config/audirvana/audirvana-studio.ini doesn’t seem to work either.
Don’t you have it there?
~/.config/audirvana
No, this is all:
christophe@audirvana:~/.config/audirvana$ ls -lsa ~/.config/audirvana
total 12
4 drwxr-xr-x 2 christophe audio 4096 Aug 2 09:48 .
4 drwxr-xr-x 4 christophe christophe 4096 May 15 06:58 ..
4 -rw-r--r-- 1 christophe audio 2522 Aug 2 09:48 audirvana-studio.ini
christophe@audirvana:~/.config/audirvana$
In /opt/audirvana/studio ?
removed and reinstalled it but no file present:
christophe@audirvana:~/.config/audirvana$ ls -lsa /opt/audirvana/studio
total 72128
4 drwxr-xr-x 3 root root 4096 Aug 2 10:05 .
4 drwxr-xr-x 3 root root 4096 Aug 2 10:05 ..
32252 -rwxr-xr-x 1 root root 33022816 Jul 2 15:20 audirvanaStudio
0 lrwxrwxrwx 1 root root 19 Jul 2 15:20 libchromaprint.so -> libchromaprint.so.1
0 lrwxrwxrwx 1 root root 23 Jul 2 15:20 libchromaprint.so.1 -> libchromaprint.so.1.5.1
108 -rw-r--r-- 1 root root 109680 Mar 25 09:28 libchromaprint.so.1.5.1
852 -rw-r--r-- 1 root root 870512 Mar 25 09:17 libdash.so
96 -rw-r--r-- 1 root root 96704 Jul 2 15:20 libdsdpcm.so
52 -rw-r--r-- 1 root root 50984 Mar 25 09:34 libgsm.so
0 lrwxrwxrwx 1 root root 16 Jul 2 15:20 libicudata.so -> libicudata.so.70
0 lrwxrwxrwx 1 root root 18 Jul 2 15:20 libicudata.so.70 -> libicudata.so.70.1
28784 -rw-r--r-- 1 root root 29471624 Mar 22 17:37 libicudata.so.70.1
0 lrwxrwxrwx 1 root root 16 Jul 2 15:20 libicui18n.so -> libicui18n.so.70
0 lrwxrwxrwx 1 root root 18 Jul 2 15:20 libicui18n.so.70 -> libicui18n.so.70.1
4048 -rw-r--r-- 1 root root 4141784 Mar 22 17:37 libicui18n.so.70.1
0 lrwxrwxrwx 1 root root 14 Jul 2 15:20 libicuuc.so -> libicuuc.so.70
0 lrwxrwxrwx 1 root root 16 Jul 2 15:20 libicuuc.so.70 -> libicuuc.so.70.1
2428 -rw-r--r-- 1 root root 2483496 Mar 22 17:37 libicuuc.so.70.1
640 -rw-r--r-- 1 root root 655296 Mar 25 09:34 liblibsox.so
68 -rw-r--r-- 1 root root 66056 Mar 25 09:34 liblpc10.so
0 lrwxrwxrwx 1 root root 22 Jul 2 15:20 libMetaSoundQuali.so -> libMetaSoundQuali.so.1
0 lrwxrwxrwx 1 root root 28 Jul 2 15:20 libMetaSoundQuali.so.1 -> libMetaSoundQuali.so.2.2.5.1
1268 -rw-r--r-- 1 root root 1297792 Mar 29 07:57 libMetaSoundQuali.so.2.2.5.1
0 lrwxrwxrwx 1 root root 14 Jul 2 15:20 libmpg123.so -> libmpg123.so.0
0 lrwxrwxrwx 1 root root 19 Jul 2 15:20 libmpg123.so.0 -> libmpg123.so.0.48.2
316 -rw-r--r-- 1 root root 322344 Mar 22 16:38 libmpg123.so.0.48.2
0 lrwxrwxrwx 1 root root 11 Jul 2 15:20 libtag.so -> libtag.so.1
0 lrwxrwxrwx 1 root root 16 Jul 2 15:20 libtag.so.1 -> libtag.so.1.17.0
1200 -rw-r--r-- 1 root root 1224736 Jul 31 2023 libtag.so.1.17.0
4 -rwxr-xr-x 1 root root 3973 Jul 2 15:15 setAsService.sh
4 drwxr-xr-x 4 root root 4096 Aug 2 10:05 share
Sorry, for the confusion, you need to create a adminconfig.json file in the ~/.config/audirvana folder as it is not created by default.
No problem, thank for the help. Sadly, it doesn’t seem to work. The logs show
2024-08-02 12:58:42.805 [info]: RemoteServer: Server started and advertised on port 38465
2024-08-02 12:58:43.456 [info]: UPnP stack initialized using default interface
2024-08-02 12:58:43.656 [info]: UPnP web server started on 192.168.30.85:49152
I’ve tried with both
remoteServerPort: 51152
upnpServerPort: 51153
and, since it’s a json file
{
"remoteServerPort": "51152",
"upnpServerPort": "51153"
}
Hi @WaxBear, please try this:
{
"remoteServerPort": 51152,
"upnpServerPort": 51153
}
That did it, thanks!