skip to Main Content

Not able to fetch Image

I am trying to get image but i am getting error: Failed to load resource: the server responded with a status of 404 (Not Found) TopBar.jsx import { useContext } from "react"; import { Link } from "react-router-dom"; import {…

VIEW QUESTION

Unable to connect to remote redis host [nodeJS]

const redis = require('redis'); require('dotenv').config(); console.log(process.env.redisHost, ':', process.env.redisPort); const redisClient = redis.createClient({ host: process.env.redisHost, port: process.env.redisPort, password: process.env.redisKey }); redisClient.connect(); redisClient.on('error', err => console.log('Redis error: ', err.message)); redisClient.on('connect', () => console.log('Connected to redis server')); module.exports = redisClient; I tried this…

VIEW QUESTION
Back To Top
Search