There’s already a feature request for that topic and someone created a script so that apps can use internal dns names for inter app communication. The script is linked in one of the post on the feature request
Another option would be to let all three apps join a common network and use this for inter app communication.