1. 程式人生 > >telnet: connect to address 192.168.2.140: Connection refused

telnet: connect to address 192.168.2.140: Connection refused

telnet: connect to address 192.168.2.140: connection refused

解決方案

問題描述:
    我的redis開啟後,使用telnet進行訪問出現如下錯誤
    telnet: connect to address 192.168.2.140: Connection refused
    
解決方案
    查看redis.conf這個配置文件,將bind 127.0.0.1修改為bind 192.168.2.140,然後再使用telnet訪問就沒有問題
    
說明:
    當前這個問題有可能是其他原因導致,請參考更多解決方案


本文出自 “素顏” 博客,請務必保留此出處http://suyanzhu.blog.51cto.com/8050189/1944658

telnet: connect to address 192.168.2.140: Connection refused