skip to Main Content

Node Redis does not work on my windows computer even though the server is up and running

const express = require("express"); const redis = require("redis"); const app = express(); const client = redis.createClient({ url: "redis://[email protected]", }); client.on("connect", function () { console.log("redis connected"); console.log(`connected ${redisClient.connected}`); }); client.on("error", (err) => { console.log(err); }); app.listen(process.env.PORT || 3000, () => {…

VIEW QUESTION

Apache + Django on Windows does not start

I am trying to set up Apache with Django on Windows but it does not seem to work. My settings.py ALLOWED_HOSTS = ['localhost', '127.0.0.1'] My wsgi.py import os import sys from django.core.wsgi import get_wsgi_application from pathlib import Path # Add…

VIEW QUESTION

Configuring multiple sites in apache

I use Win10, Apache2.4 and PHP7.4. I created 2 test sites inside Apache24htdocs - Test.com and Test2.com, both containing simple index.php files. Here are exceptions from config files: hosts: 127.0.0.1 Test.com www.Test.com 127.0.0.1 Test2.com www.Test2.com httpd.conf: # PHP7 module PHPIniDir…

VIEW QUESTION
Back To Top
Search