If the service is listening on IPv6, you can use the preview fly proxy
command for this. If you have your app running on port 8080, you can do this:
fly proxy 8080:8080 -a <appname>
Then localhost:8080
will connect to your app.
Does that do what you need?