How can I expose GRPC external port 9080 for Dgraph alpha

I checked the code… the only place that error string appears is when checking whether the caller IP invoking an admin function is authorized (whitelisted).

Note that 0.0.0.0/0 covers all IP addresses, so the other entries are not needed.

A few more questions:

  1. What is the IP address of the computer on which the alpha is running?
  2. What is the IP address of the computer which is attempting to connect to the alpha?
  3. What code are you using that connects to the admin endpoint? Can you share relevant parts of that?
  4. Have you tried removing the -security token=XXX flag?

Finally, can you issue this CURL command and report the results back here:

curl --request POST \
    --header 'content-type: application/json' \
    --url http://localhost:8080/admin \
    --data '{"query":"query Config {\n  state {\n    groups {\n      members {\n        addr\n        groupId\n        id\n      }\n    }\n    zeros {\n      addr\n      groupId\n    }\n  }\n  health {\n    status\n    address\n    instance\n    version\n  }\n}"}'