You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
server selection error: server selection timeout, current topology: {
Type: ReplicaSetNoPrimary,
Servers: [{
Addr: localhost:27017,
Type: Unknown,
Last error: connection() error occured during connection handshake: dial tcp [::1]:27017: connect: connection refused
},]
}
The host in the error message is clearly incorrect.
However,
mongodb://username:password@mongo:2701
gives
server selection error: server selection timeout, current topology: {
Type: Unknown,
Servers: [{
Addr: mongo:2701,
Type: Unknown,
Last error: connection() error occured during connection handshake: dial tcp 10.88.2.4:2701: connect: connection refused
}, ]
}
This time the host is correct, but that's not the address I need.
I tried
mongodb://username:password@10.88.2.4:27017
The error message is the same as the first one.
BTW, I am running mongood and mongo via docker-compose. I can confirm that the hostname mongo (corresponds to IP 10.88.2.4) can be resolved from the mongood container.
Moreover, from the devtools in the browser, I can see that the payload send to http://localhost:3000/api/runCommand?d=admin&c=ping is always correct.
The text was updated successfully, but these errors were encountered:
In the
New Connection
modal,gives me
The
host
in the error message is clearly incorrect.However,
gives
This time the host is correct, but that's not the address I need.
I tried
The error message is the same as the first one.
BTW, I am running
mongood
andmongo
via docker-compose. I can confirm that the hostnamemongo
(corresponds to IP10.88.2.4
) can be resolved from themongood
container.Moreover, from the devtools in the browser, I can see that the payload send to
http://localhost:3000/api/runCommand?d=admin&c=ping
is always correct.The text was updated successfully, but these errors were encountered: