MongoDB Connection Error #2818
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Using Docker Setting up the server An error occurred
spaceninjaserver-spaceninjaserver-1 log error:Error connecting to MongoDB server: getaddrinfo ENOTFOUND mongodb
conf/config.json
{
"mongodbUrl": "mongodb://openwfagent:spaceninjaserver@mongodb:27017/",
"logger": {
"files": true,
"level": "trace"
},
"myAddress": "1.1.1.1",
"bindAddress": "0.0.0.0",
"httpPort": 56780,
"httpsPort": 44443,
SpaceNinjaServer/config.json
{
"mongodbUrl": "mongodb://openwfagent:spaceninjaserver@mongodb:27017/",
"logger": {
"files": true,
"level": "trace"
},
"myAddress": "1.1.1.1",
"bindAddress": "0.0.0.0",
"httpPort": 56780,
"httpsPort": 44443,
SpaceNinjaServer/docker-compose.yml
image: openwf/spaceninjaserver:latest-arm64
Can't reproduce. Don't use Docker if you don't know how to use it.
Also idk if you specifying ARM64 was intentional, but I can confirm that it also works on an ARM64 host.