Flutterflow 2025 - Using an API on localhost?

Database & APIs

I've searched and not really found a definitive answer.

Can flutterflow, running in a Chrome browser on a Mac, access an API running on the same machine on localhost?

I have turned off Use Proxy and confirmed the API is running fine with Postman, I have CORS enabled and have checked the API will respond.

I cannot tell whether an API call comes from the local browser or from flutterflows cloud infrastructure? Is the FF flutter engine running in browser?

At some point in the past few years ngrok was suggested but that just exposes my localhost publically and for security reasons that's not happening. I can deploy a full API build into Azure, but right now I'd much prefer to get localhost working locally for development purposes.

But googling and searching I cannot find a definitive answer here? Help!

Much Appreciated
Paul

What have you tried so far?

Tested API, added headers to call, turned off proxy - can't see what else I can do.

Did you check FlutterFlow's Documentation for this topic?
Yes
1
1 reply