Which port and protocol is commonly used by MongoDB?

Study for the CPSA Port Numbers Exam. Practice with flashcards and multiple choice questions, each with hints and explanations. Get ready for your test!

Multiple Choice

Which port and protocol is commonly used by MongoDB?

Explanation:
MongoDB’s database server (mongod) listens on the default port 27017 and uses TCP for reliable, connection-oriented communication between clients and the database. This port is the standard, widely-recognized starting point for MongoDB connections, though it can be changed if needed. The other ports correspond to different services—3389 is for Remote Desktop Protocol, 1521 for Oracle’s database listener, and 1883 for MQTT—so they aren’t MongoDB by default.

MongoDB’s database server (mongod) listens on the default port 27017 and uses TCP for reliable, connection-oriented communication between clients and the database. This port is the standard, widely-recognized starting point for MongoDB connections, though it can be changed if needed. The other ports correspond to different services—3389 is for Remote Desktop Protocol, 1521 for Oracle’s database listener, and 1883 for MQTT—so they aren’t MongoDB by default.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy