[Already Works - See Solution] Per-App IP Address: allow setting to any port

Problem/Justification
When setting a unique IP address for an App, it’s not possible to assign a port that is already in use by another address. e.g., you can’t assign ports 80 or 443 because those are used by the TrueNAS UI. Since a unique IP address is being set, ports used by other interfaces don’t matter.

Impact
This severly impacts the usefulness of per-app IP addresses since you need to assign non-standard ports for each app rather than using well-known ones.

User Story
I’m running the Open Speedtest app. I would like it to have its own IP address and use ports 80 and 443 so that users can easily do an internal speed test. But that’s not possible with the current implementation.

This already works. Just make sure to unbind the TN UI from the alias addresses you are using for the app

1 Like

Ah, so the UI automatically binds to all defined IPs unless told otherwise. I can understand why that would be. It might be helpful, then, in the App config section to remind the user to check the web UI configuraiton if they are assigning an IP address.

I removed the 0.0.0.0 entry in the GUI config and replaced it with the IPs that the app is not using. i also had to juggle the app settings and stop/start it a couple of times. But then it took off and is working properly.

Thanks for the quick response!
John