Skip to content

Setting host to ip address gives EADDRNOTAVAIL #838

@stuart68

Description

@stuart68

Hi,

I have just started running json-server.

Yesterday I had no issues with running this on a VM. The VM is using Ubuntu 18.04. With nide version v8.10.0 and json-server version 0.14.0.

I started the server with:

json-server --host 172.x.x.x db.json

Today this does not work. The server will only run if I use the default of localhost.

What have I done wrong? I am new to node and json-server.

Thanks for any help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions