Your local app is local to you. If you want your Bubble users to connect to their local version - they have to set it up too.
If your local app should be accessible to everyone in your Bubble app, you can set up a cheap server (dependng on what it requires) to expose a public version of it.
You have to provide more context I believe