Problems running RStudio via podman?

Yes, I know, the port is published.
My question is:
Can flatpak’ed Firefox access port 8787 on localhost?