How can we map dgraph to custom port

Dgraph is mapped to 8080 by default but on our server another process is running at 8080 so how can we run dgraph without using 8080 port.

You can make dgraph listen on a custom port using the --port flag. E.g. to listen on port 6060 you would use --port=6060.

For a full list of flags to use with dgraph, you can run dgraph --help.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.