The default port for the MongoDB server is 27017. However, you can configure MongoDB to listen on a different port if needed.