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
最满意答案
错误
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 ...
-
用于SOAP / REST转换的AWS API网关和Lambda函数(AWS API Gateway & Lambda Function for SOAP / REST Conversion)[2023-07-18]
对于问题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