I have my RPi configured with dual IP (ethernet and wireless) but I want Volumio to listen to only one of them as I have another service running on the other IP. I rather have them both on port 80.
I couldn’t any config file that specifies which IP to be used. Is there a way to achieve this?
You might be better searching on the Raspbian forums. It’s a bit of a niche question, and you would reach/search a much bigger audience there. Please post back though if you find the solution
Two words of warning here though, Volumio is still using ‘Jessie’ rather than the newer ‘stretch’, and there are lots of posting about setting up networks using the ‘/etc/network/interfaces’ file; the latter is deprecated and should be avoided if possible.
this is a Volumio specific problem. The RPi is setup properly, it has 2 fully configured IPs.
Problem is that Volumio listens on both IP on port 80 and I need one of them for another app.
So the question is how to set Volumio to listen on 192.168.0.11 (let’s say) instead of 0.0.0.0 (which means ALL )
to be honest it was. but I prefer haproxy. it is more flexible and provides future expansion (eg allows more apps to run on different ports while it acts like a semaphore on port 80)