Restore Dgraph Schema getting error

[email protected]:/dgraph# dgraph live -s g01.schema.gz -p 183.82.100.44:9080 -z 183.82.100.44:5080

I0708 09:16:55.833556 256 util_ee.go:126] KeyReader instantiated of type

Running transaction with dgraph endpoint: 127.0.0.1:9080
2022/07/08 09:17:05 context deadline exceeded
Unable to connect to zero, Is it running at 183.82.100.44:5080?
github.com/dgraph-io/dgraph/x.Checkf
/ext-go/1/src/github.com/dgraph-io/dgraph/x/error.go:51

Hi Shesh,

Port 5080 is the zero grpc endpoint. Did you try curl-ing to it just to check that basic connectivity (firewall/vpc configuration) is not the issue?

curl http://183.82.100.44:5080 --output /tmp/dump