Can flatpak access host's network port?

I’m running a local proxy on host, I want the app running in flatpak can access the proxy.
I think the flatpak is running in a container, so do I need to forward my proxy port on host to the container?
Can I even do that ?

It can yes as long as the app has --share=network.

This topic was automatically closed after 2 days. New replies are no longer allowed.