在本地更改DynamoDB的端口号 [英] Change the port number of DynamoDB locally

查看:144
本文介绍了在本地更改DynamoDB的端口号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何更改本地计算机上dynamodb的端口号?它设置为8000,并且想要更改它.我正在使用Ubuntu 16.04.

How can I change the port number of dynamodb on my local machine? it is set for 8000 and want to change it. I'm on ubuntu 16.04.

推荐答案

-port选项可用于提供默认端口8000以外的其他端口号.

The -portoption can be used to provide the some other port number other than the default 8000.

java -Djava.library.path=./DynamoDBLocal_lib -jar DynamoDBLocal.jar -sharedDb -port 8001

这篇关于在本地更改DynamoDB的端口号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆