当前位置:网站首页>Redis' idea under windows is not connected
Redis' idea under windows is not connected
2022-07-27 06:43:00 【Xiangxiang baby:】
The goal is : stay idea(windows) Connect Redis
Today is connecting Redis There was a problem when :
Yes , He is not connected to my local computer
I still remember my last article mentioned , install redis What are the steps ? If you don't remember, click the following link install redis(windows)
I looked up the relevant information , About solving idea link redis The problem of , There are two schemes as follows :
① add to iedis This plugin , But I can't find this plug-in in , Cracked versions on other websites also need to be downloaded and paid , There are many small advertisements ( You'll see ), So I gave up the idea .
② Add related files ( I use this method to successfully connect !)
1) First, in the xml Add this configuration to the file
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>3.3.0</version>
</dependency>
2) Then remember if we installed redis Of host And port number ?
If you don't remember cmd once , You can check it 
127.0.0.1 It is my host
6379 Is our default port number
3) And then we can go in properties Add our redis To configure 
redis.host=127.0.0.1
redis.port=6379
redis.timeout=10
redis.password=123
Then connect it !!!!
summary :
stay idea Connect our redis You need to check your host And port number , Be sure to confirm the same , Otherwise, you can't connect to the host .
边栏推荐
猜你喜欢
随机推荐
系统安全与应用
基于Apache下ab工具进行网站压力性能测试
英语基础知识:定语使用规则下篇
Shell Scripting format
Interface test process and interview questions
NFS简介和配置
2022年全球6家最具技术实力的的智能合约审计公司盘点
向日葵全面科普,为你的远程控制设备及时规避漏洞
备忘录 @RestControllerAdvice与异常拦截类示例
NFS introduction and configuration
Converting ArcGIS style stylesheet files to GeoServer SLD files
Raid explanation and configuration
C language - dynamic memory management
rsync远程同步
Use of getattr, hasattr, delattr and setattr in reflectors
Basic knowledge of English: juxtaposition structure
NAT(网络地址转换)
Introduction to JMeter
Summary of frequently asked questions in the interview [summarized after painstaking work all night]
如何避免漏洞?向日葵远程为你讲解不同场景下的安全使用方法









