Page 1 of 1

restrict listen interface

PostPosted: Mon May 04, 2015 10:53 am
by perler
is there a way to restrict the network interface sobsonic is listening on via a netmask (like 127.0.0.1/32 to just listen on localhost?)

Re: restrict listen interface

PostPosted: Fri May 08, 2015 6:51 pm
by ericvonnine
Yes, the --host flag sets the ip and therefore the interface. I proxy my subsonic behind apache to have all traffic over https so my subsonic starts with:

Code: Select all
--host=127.0.0.1 --port=4040


You will still need a firewall on the host if it is exposed to the internet because Tomcat or some other portion of the stack leaves a number of ports listening on all interfaces regardless of this setting.

Re: restrict listen interface

PostPosted: Fri May 08, 2015 8:20 pm
by perler
perfect, thanks!