Skip to content

What should be the endpoint address when I use Flutter + Deno + MongoDB? #12579

@goodmanworld

Description

@goodmanworld

I am using Flutter, VSCode and Android emulator in Windows 10. Also Deno as the backend server. I am trying to connect Flutter app to Deno app locally in my PC. But I don't know what address exactly I must use?

This is the address I am trying to send get, post, etc. requests from the Flutter app to:

http://10.0.2.2:8000/api/register

And this is the address I am trying to receive those requests inside my deno app:

Listening on: http://0.0.0.0:8000

And the endpoints such as /api/register work when I use postman to test them with the follwong address for example:

0.0.0.0:8000/api/register

I don't know what is the problem and how can I fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions