If I am trying to call the API I am getting the connection refused in edge micro gateway.

Not applicable

$ curl -i http://localhost:8000/edgemicro/status -H "x-api-key: Lh6pI2pugQ6kds Q5ULla5gIAhA3riBNo" curl: (7) Failed to connect to localhost port 8000: Connection refused

0 2 1,593
2 REPLIES 2

It looks like server is not running. Can you list out all node processes, if there are any errors etc? Are you able to hit other servers which are running on localhost?

So you need to start your edgemicro again after you have closed the connection.

1. edgemicro start [options]

2. edgemicro token get [options]

3. Once you get the token or the key. Just make sure that the edgemicro has started. And then provide the curl command.

Hope this helps.