Having a silly-hard time connecting locally. Windows, Docker-standalone, Spring Boot, Java 11

Wellp, that’s on me.

I strongly-suspect the issue was that I didn’t have all ports exposed. (Ouch)

Same configuration with an external change–FROM THE DOCS–of docker run -it -p 5080:5080 -p 6080:6080 -p 8080:8080 -p 9080:9080 -p 8000:8000 -v ~/dgraph:/dgraph --name dgraph dgraph/standalone:v21.03.0 and I’m away and running.

I also bumped versions from v20.03.0 to v21.03.0.

One actual improvement I can leave for someone coming behind me: change the catch to return a more-complete error: logger.error("Dgraph failure: " + e.getCause().getMessage() + e.getCause().getCause().getMessage());

:expressionless:

2 Likes