Skip to content

Cannot use local IP url or tunel url #31

@tuanlv14

Description

@tuanlv14

Dear team,
I develop my back-end and it worked well with path: http://127.0.0.1:5050

But when I try to bring my project to other server to deploy at static address in my network, example: 192.168.1.10:5050 --> I tested again and got this issue: 'Unable to find a widgets.json file.' althought I try to test http://192.168.1.10:5050/widgets.json --> It had returned widget json data well.

And then I try to create a tunel for my local server, via https://ubuntu.xxx.net/stock ; I tested https://ubuntu.xxx.net/stock/widgets.json worked well and return exactly data but I got other issue: "Failed to execute 'json' on 'Response': Unexpected token '<', "<!DOCTYPE "... is not valid JSON"

So pls help me fix this issue.

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