Hi,
I'm running Subsonic on a raspberry pi and have been, for a while using HTTPS on port 4443. Whilst this works perfectly I'd like to move it to 443.
My subsonic is running under a service account, i.e.
SUBSONIC_USER=SERVICE_USER
I believe only root user can bind to ports below ports 1024.
I've read this article https://superuser.com/questions/710253/ ... 80-and-443 and tried this command:
sudo setcap CAP_NET_BIND_SERVICE=+eip /etc/init.d/subsonic
But this doesn't work, see log below:
112788 [main] INFO org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'subsonic': initialization completed in 15643 ms
112903 [main] WARN org.mortbay.log - failed SelectChannelConnector@0.0.0.0:443
java.net.SocketException: Permission denied
Does anyone know which binary I need to allow via setcap to be able to bind to port 443?
Thanks in advanced.
Rich