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 value — The port number that DynamoDB uses to communicate with your application. If you don't specify this option, the default port is 8000 .
DynamoDB Local is available as a download (requires JRE), as an Apache Maven dependency, or as a Docker image. If you prefer to use the Amazon DynamoDB web service instead, see Setting up DynamoDB (web service).
To access DynamoDB running locally with the AWS CLI, use the --endpoint-url parameter. For example, use the following command to list DynamoDB tables. The downloadable version of Amazon DynamoDB is available as a Docker image. For more information, see dynamodb-local .
The -port
option 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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With