Почему при запуске сервера с интернетом все работает нормально, а без выдает ошибку связанную с mongo:
MongoError: failed to connect to server [localhost:27017] on first connect [MongoError: getaddrinfo ENOENT localhost:27017]
at Pool.<anonymous> (C:\Users\Vlad\WebstormProjects\untitled5\node_modules\connect-mongo\node_modules\mongodb-core\lib\topologies\server.js:336:35)
at emitOne (events.js:116:13)
at Pool.emit (events.js:211:7)
at Connection.<anonymous> (C:\Users\Vlad\WebstormProjects\untitled5\node_modules\connect-mongo\node_modules\mongodb-core\lib\connection\pool.js:280:12)
at Object.onceWrapper (events.js:317:30)
at emitTwo (events.js:126:13)
at Connection.emit (events.js:214:7)
at Socket.<anonymous> (C:\Users\Vlad\WebstormProjects\untitled5\node_modules\connect-mongo\node_modules\mongodb-core\lib\connection\connection.js:189:49)
at Object.onceWrapper (events.js:315:30)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at emitErrorNT (internal/streams/destroy.js:64:8)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)