|
When I use mongodump to connect to a port on which there is nothing listening, I get a message telling me the state of topology is connected:
serene% ~me/debs/mongo/tools/mongodump --port 27017 -q 'hello' -c test -d ruby-driver
|
2021-03-21T08:36:16.812-0400 Failed: can't create session: could not connect to server: server selection error: server selection timeout, current topology: { Type: Single, Servers: [{ Addr: localhost:27017, Type: Unknown, State: Connected, Average RTT: 0, Last error: connection() : dial tcp [::1]:27017: connect: connection refused }, ] }
|
I find this message confusing because there isn't anything listening on port 27017, therefore, what is mongodump connected to?
|