Question

I have looked everywhere, cannot find what protocol the mongojs uses for connecting with the mongodb. Can anyone show me some doc's that specify if its UDP or TCP/IP or HTTP

Was it helpful?

Solution

MongoDB talks over TCP sockets. From the docs:

The MongoDB Wire Protocol is a simple socket-based, request-response style protocol. Clients communicate with the database server through a regular TCP/IP socket.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top