Changing the NIC that Subsonic binds to in Ubuntu

Need help? Post your questions here.

Moderator: moderators

Changing the NIC that Subsonic binds to in Ubuntu

Postby jpeach » Tue Sep 06, 2016 7:53 pm

I am using ubuntu 16.04 and I have multiple NIC (Network Interface cards) in my computer. Subsonic is binding to the first NIC, how do I get it to bind to a different one?
jpeach
 
Posts: 2
Joined: Tue Sep 06, 2016 7:47 pm

Re: Changing the NIC that Subsonic binds to in Ubuntu

Postby jpeach » Tue Sep 06, 2016 9:12 pm

I found a couple of answers.

At the linux level you can use network name spaces as described here:
http://unix.stackexchange.com/questions ... -interface

Another approach is to use LD_PRELOAD to capture the network bind operation as described here:
http://superuser.com/questions/241178/h ... -processes

Or, by far the easiest is to use a directive that is supported by subsonic. You edit the file:
/etc/default/subsonic
and in the SUBSONIC_ARGS parameter you add --host=HOST_IP
See:
/usr/share/subsonic/subsonic_sh for details
jpeach
 
Posts: 2
Joined: Tue Sep 06, 2016 7:47 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 33 guests