Connecting two microservices without public ip?

Hi!
I’ve got two http applications that need to talk to each other. And I don’t want to give a public IP to one of them. However, it still needs to be reachable from the other one. How can this be achieved?

The documentation here describes the internal networking scheme; you should be able to address your applications with region.appname.internal. Whether it’s possible to disable the initial assignment of the public IP addresses is another question entirely, but if you just want to remove the public addresses after deployment you can use fly ips release.

1 Like

And just to follow from that answer, what’s easy to miss (I did) is providing the internal port your app is listening on e.g call http://app-name.internal:8080/path

You can use http since the internal private network is encrypted.

1 Like