FTL failed to login error="rpc error: code = Unknown desc = unauthorized ip address:"

Report a GraphQL Bug

What edition and version of Dgraph are you using?


  • Dgraph Cloud (GraphQL feature)
  • Dgraph On-Prem (EE)
  • Dgraph (community edition)

If you are using the community edition or enterprise edition of Dgraph, please list the version:

Dgraph (community edition)
$ dgraph version
Dgraph version   : v23.1.0

Have you tried reproducing the issue with the latest release?


Steps to reproduce the issue (paste the query/schema if possible)

I have started Dgraph alpha with below command
dgraph alpha --my= --zero= --bindall=true --security "whitelist=" --security "token=d2837127beff45a8a486775e1b" --expose_trace=0
But when I try to login it always getting below error
FTL failed to login error="rpc error: code = Unknown desc = unauthorized ip address:"
I can able to login using localhost so I understand it is , Dgraph is not supporting to connect with ip, even if we try to login in with same system using ip address , it will not able to connect , it is only can connect with localhost even is we are give blindall=true, and whitelist

Expected behaviour and actual result.

I need connect with ip address like with dgraph port 8080 admin port and 8090 Grpc port ,

Experience Report for Feature Request

Note: Feature requests are judged based on user experience and modeled on Go Experience Reports. These reports should focus on the problems: they should not focus on and need not propose solutions.

What you wanted to do

I want to connect and login with ip address like from inside and outside system same network .
Please note is this ip only I have started dgraph alpha using option --my= blindall=true, and whitelist

What you actually did

I have started dgrapha alpha using below command and tried to login as per previously created user. it is working fine when i used localhost:8090. but not working if i use system IP address like

Why that wasn’t great, with examples

Any external references to support your case