Code
# See src/config.ts for details on the .env variables that you can set
# Your Moralis Api key, that can be found in the dashboard. Keep this secret!
MORALIS_API_KEY=********************************
PORT = 1337;
MASTER_KEY = ***
APPLICATION_ID = ***
SERVER_URL = 'http://localhost:1337/server'
CLOUD_PATH = './build/cloud/main.js'
DATABASE_URI = 'mongodb+srv://******:*******@cluster0.qlypopk.mongodb.net/parse?retryWrites=true&w=majority'
REDIS_CONNECTION_STRING = 'redis://******:******@redis-17922.c91.us-east-1-3.ec2.cloud.redislabs.com:17922'
RATE_LIMIT_TTL = 30
RATE_LIMIT_AUTHENTICATED = 50
RATE_LIMIT_ANONYMOUS = 20
USE_STREAMS = true
STREAMS_WEBHOOK_URL = '/streams-webhook'
Error
Error: connect ECONNREFUSED 127.0.0.1:6379
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1300:16)
Emitted 'error' event on RedisClient instance at:
at RedisClient.on_error (C:\Users\Faizan's PC\OneDrive\Desktop\migration-demo-parse-server-1\node_modules\parse-server\node_modules\redis\index.js:342:14)
at Socket.<anonymous> (C:\Users\Faizan's PC\OneDrive\Desktop\migration-demo-parse-server-1\node_modules\parse-server\node_modules\redis\index.js:223:14)
at Socket.emit (node:events:513:28)
at Socket.emit (node:domain:489:12)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -4078,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 6379
}