B
B
bozuriciyu2019-08-16 23:27:08
MongoDB
bozuriciyu, 2019-08-16 23:27:08

How is it safer to use Mongo: http request or connect to Mongo directly?

Server 1 - the main backend with a database (Monga)
Server 2 - an API for the front, a caching server that receives requests from the client and then accesses Server 1.
How is it safer and better to connect from Server 2 to Server 1? Will a regular http request and then the controller of Server 1 get into Monga, or will they connect directly to the remote Monga?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2019-08-17
@dimonchik2013

if only one remote ip is allowed by the firewall - better directly

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question