Home > Back-end >  Java Redis Connection virtual machine quote: Connection refused: connect
Java Redis Connection virtual machine quote: Connection refused: connect

Time:11-27


Wrong type,
Wingdows can ping, but not Telnet


Redis. Under the conf 127.0.0.1 also annotation, protected - mode also changed the no



For a great god,

CodePudding user response:

Bind is comments, should only monitor 127.0.0.1

To set up the bind, value of 192.168.1.88
Also set up the firewall, development related port

CodePudding user response:

The redis configuration of the bind that row of annotation remove,
Test on Telnet, then try using program, not even a Telnet it even also not ah,

CodePudding user response:

Which one I redis conf annotation, or not, my virtual machine with the is the bridge of WLAN,

CodePudding user response:

reference QingLan unintentional reply: 3/f
I redis conf which comments, or not, my virtual machine with the is the bridge of WLAN,
first directly open the bind 0.0.0.0 open all connections

CodePudding user response:

I suggest you go to redis deployment Telnet to the machine, and then the whole good firewall, and then try again

CodePudding user response:

Is the problem of port, you change the port of redis, restart, then

CodePudding user response:

In the virtual machine deployment telnet127.0.0.1 can run up and telnet192.168.1.88 won't run, also is to refuse,
  • Related