首页 \ 问答 \ redis客户端没有连接(redis client not connecting)

redis客户端没有连接(redis client not connecting)

当我尝试使用公钥连接到redis客户端数据库时,使用以下命令,

ssh -i somekey.pem -v -L 6379:127.0.0.1 user@domain.com

当我这样做它没有连接并给出以下错误

OpenSSH_5.9p1 Debian-5ubuntu1.4,OpenSSL 1.0.1 2012年3月14日糟糕的本地转发规范'6379'

没有其他redis实例在运行

问题是什么,我该怎么做才能解决这个问题


when i am trying to connect to redis client db using a public key, by use of following command,

ssh -i somekey.pem -v -L 6379 : 127.0.0.1 user@domain.com

when i do so its not connecting and giving the following error

OpenSSH_5.9p1 Debian-5ubuntu1.4, OpenSSL 1.0.1 14 Mar 2012 Bad local forwarding specification '6379'

there is no other redis instance running

what is the issue and what should i do to solve the issue


原文:https://stackoverflow.com/questions/26979798
更新时间:2022-01-31 17:01

最满意答案

错误Protocol family unavailable意味着协议(在本例中为IPv6)在运行代码的系统上不可用或未配置。

就AWS而言,您唯一可以做的就是抱怨并希望他们最终将IPv6支持推广到尚未拥有它的服务。


The error Protocol family unavailable means that the protocol (in this case IPv6) is not available or not configured on the system on which your code is running.

In the case of AWS, the only thing you can do about this is to complain and hope they eventually roll out IPv6 support to services which don't yet have it.

相关问答

更多
  • 您可以设置自己的小型IPv6网络来测试这一点,但是让自己成为IPv6隧道要容易得多。 即使您的提供商不提供IPv6访问(您应该对它们大喊大叫!),您仍然可以获得可用的IPv6连接。 以飓风电气为例。 你的直接问题可能就像Karoly所说的那么简单。 只需在for循环中删除第一个if()语句。 无论如何它都是多余的(除了额外的i ++打破了东西!)。 You could set up your own little IPv6 internetwork to test this, but it'll be mu ...
  • 这里有几件事要考虑: API网关 + Lambda Lambda通常被认为是无服务器解决方案。 您不必担心底层基础架构,只需编写代码并使用AWS托管的资源为您运行它。 API网关与Lambda集成,允许您将各种REST风格的URL映射到Lambda函数。 优点 对于快速通话非常划算 通过内置的SDK轻松与AWS服务集成 使用IAM角色允许轻松访问服务,而无需担心凭据 它们中的大部分可以并行运行以处理大量呼叫 支持多种语言,包括NodeJS 不必担心可用区域 缺点 有限的资源 处理本地编译包可能有点麻烦 5分 ...
  • 这是一个使用Fn :: Cidr内部函数完成相同任务的单线程 。 !Select [1, !Cidr [!Select [0, !GetAtt 'Vpc.Ipv6CidrBlocks'], 256, 64]] 对于给定的块2a05:d018:84c:c500::/56这会给你2a05:d018:84c:c501::/64 增加第一个索引以获得下一个块。 !Select [2, !Cidr [!Select [0, !GetAtt 'Vpc.Ipv6CidrBlocks'], 256, 64]] 会给你2 ...
  • 像大多数事情一样,我认为你应该在决定之前进行衡量。 许多AWS客户非常成功地使用Lambda作为其Web应用程序的后端。 关于Lambda延迟的讨论很多,例如: 你在考虑冷启动都是错的 Lambda呼叫延迟 使用Node.js,Java,C#或Python比较Lambda性能 您应该测量代表您的应用及其使用的环境的延迟。 与请求延迟相关的一些重要因素: 冷启动=>更高的延迟 请求模式是冷启动的重要因素 如果需要在VPC中部署(ENI的附件=>更高的冷启动延迟) 使用CloudFront - > API网关 ...
  • 错误Protocol family unavailable意味着协议(在本例中为IPv6)在运行代码的系统上不可用或未配置。 就AWS而言,您唯一可以做的就是抱怨并希望他们最终将IPv6支持推广到尚未拥有它的服务。 The error Protocol family unavailable means that the protocol (in this case IPv6) is not available or not configured on the system on which your cod ...
  • 对于问题1和2:是的,在Lambda函数中执行SOAP请求和转换是正确的。 问题3:要在API Gateway处理身份验证,您可以使用名为Custom Authorizer的单独Lambda函数。 您还可以在Custom Authorizer Lambda函数中对API Gateway端点进行授权。 For Question 1 & 2: Yes, it is correct to do the SOAP request and transformation in the Lambda function. ...
  • 您的服务器无需在IPv6环境中运行。 你从Apple审核小组得到什么错误? 如果苹果团队在拒绝消息中提到了IPv6,则意味着在审核过程中应用程序无法连接到服务器。 请检查一下,您无需更改托管环境。 There is no requirement for your servers to be running on IPv6 environment. What error are you getting from the Apple review team? If apple team has mentione ...
  • 如下所述: 要为方法分配自定义访问权限,请在“授权设置”区域中为“授权类型”选择“编辑”,然后选择“AWS_IAM”。 只有附加了正确IAM策略的IAM角色才允许调用此方法。 然后,您只需要为Lambda函数分配适当的IAM角色,以允许它们调用这些私有API网关方法。 As documented here: To assign custom access permissions to the method, in the Authorization Settings area, for Authorizat ...
  • 更新到iOS 3.10,它应该都很好 Update to iOS 3.10 and it should all be good
  • 这个问题似乎归结为ECC密码套件,并且在这个版本的openjdk中缺乏支持。 我能够通过将BouncyCastle添加到项目中来实现它: org.bouncycastle bcprov-jdk15on 1.56 然后为owapi.net添加根,域和SNI证书: Se ...

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。