<分区>
当我尝试使用以下命令时
telnet localhost 11211
我收到这个错误
Connecting To localhost...Could not open connection to the host, on port 11211:
Connect failed
我启用了 telnet。我该如何克服这个错误?
标签 connection port telnet
<分区>
当我尝试使用以下命令时
telnet localhost 11211
我收到这个错误
Connecting To localhost...Could not open connection to the host, on port 11211:
Connect failed
我启用了 telnet。我该如何克服这个错误?
最佳答案
您应该检查您的防火墙设置(iptables --list as root 或 sudo for Linux),看看是否有任何可能阻止它。检查哪些端口是打开的 (netstat -nl --inet) 并检查正在运行的进程并找到您希望监听的进程。
您希望在该端口上监听的任何内容都可能未运行或配置错误。
关于connection - telnet 问题 :Connecting To localhost. ..无法在端口 11211 上打开与主机的连接:连接失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18073234/
相关文章:
amazon-web-services - 为什么我无法远程登录我的 aws 实例?
emacs - 如何在 emacs telnet 模式下发出 telnet 命令?
PHP & PDO - 有什么方法可以建立 'safe' 持久连接吗?
javascript - node-serialport 不列出也不检测连接到笔记本电脑的 USB 设备
c++ - 在 C++ 中使用 telnet 通过 TCP/IP 与 QNX Neutrino 通信
php - 在php中连接到数据库并包含一次,但连接文件不在根目录中
postgresql - Odoo (OpenERP8) 与 Postgre 的连接失败
linux - 甲骨文Linux虚拟机安装: port 1521 provided for this listener is currently in use