amazon-web-services - 无法连接到端点发电机数据库 Windows 10
问题描述
我一直在关注本教程 ( https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.DownloadingAndRunning.html ) 如何在我的计算机上设置可下载的 DynamoDB,但遇到了当我尝试连接到本地主机时出现问题。
我检查了我的主机文件,一切似乎都很好......
我正在使用 Windows 10 cmd,这些是我的命令行上的输出:
C:\Users\Desktop\dynamodb_local_latest>java -
D"java.library.path=./DynamoDBLocal_lib" -jar DynamoDBLocal.jar
Initializing DynamoDB Local with the following configuration:
Port: 8000
InMemory: false
DbPath: null
SharedDb: false
shouldDelayTransientStatuses: false
CorsParams: *
C:\Users\Desktop\dynamodb_local_latest>aws dynamodb list-tables --endpoint-
url http://localhost:8000
Could not connect to the endpoint URL: "http://localhost:8000/"
C:\Users\Desktop\dynamodb_local_latest>
任何帮助将不胜感激!
解决方案
您必须运行“aws configure”并设置所需的参数(即使您只使用本地发电机数据库模拟器,也只需忽略访问/密钥)
推荐阅读
- eslint - 删除 `(` eslint (prettier/prettier)
- javascript - 如何创建一个值是函数的对象?
- node.js - Mongoose post 'findOneAndUpdate' hook 'this' 是空对象
- java - 如何在 Java 中验证用户输入
- python - 如何使用 python-pptx 从幻灯片中提取图像的尺寸
- c# - 绑定 listView 以在另一个 listView 中显示与其关联的数据
- c++ - 从字符串转换的编译时检查?
- c - 在 ac 程序中获取(星号)作为输入
- ios - iOS 如何使用贝塞尔路径实现我的绘图?
- php - 为什么 Laravel 8 中的整数变形图不起作用