
8000포트 open되어있는지 확인(cmd창에서 아래와 같이 입력)
netstat -an|findstr 6379
서버 구동 확인 Redis-cli.exe 실행하거나 cmd창에서 아래와 같이 입력
# 기본 경로
C:\Program Files\Redis>redis-cli
127.0.0.1:6379> ping
PONG
작업관리자 > 프로세스에서 redis-server 잘 돌아가고 있는지 확인

포트 번호를 변경하고 싶을 경우
C:\Program Files\Redis에 저장된다. 여기서 redis-server redis.windows.conf 파일을 열어서 port 번호를 수정한 뒤 redis server를 재시작하면 된다.로그 보기(powershell에서 사용)
C:\Program Files\Redis\Get-Content server_log.txt -Wait -Tail 10
MISCONF Redis is configured to save RDB snapshots,~ 이런 에러가 뜰 경우
Redis의 용량이 부족해서 발생하는 현상임
C:\Program Files\Redis 로 이동해서 server_log.txt 파일을 보면 아래와 같은 에러 메세지가 있을 것임
Redis can not continue. Exiting.
[296] 01 Jul 18:05:42.846 # fork operation failed
[296] 01 Jul 18:05:44.888 # Background saving terminated by signal 1
[296] 01 Jul 18:05:44.993 * 10 changes in 300 seconds. Saving...
[296] 01 Jul 18:05:45.154 * Background saving started by pid 16276
[16276] 01 Jul 18:05:45.373 #
The Windows version of Redis reserves heap memory from the system paging file
for sharing with the forked process used for persistence operations.At this time there is insufficient contiguous free space available in the
system paging file. You may increase the size of the system paging file.
Sometimes a reboot will defragment the system paging file sufficiently for
this operation to complete successfully.
C:\Program Files\Redis 로 이동해서 redis-cli.exe 실행 후, 아래 명령어 입력
127.0.0.1:6379> flushAll
Windows + R → services.msc 실행 → Redis 를 찾은 후 오른 쪽 클릭 → 재시작 or 시작
AttributeError: 'NoneType' object has no attribute 'Redis' 에러
pip install redis 를 통해 가상환경 안에도 설치해줘야 함