12

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.

Garine Pondikian
  • 255
  • 4
  • 11

1 Answers1

19

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
notionquest
  • 37,595
  • 6
  • 111
  • 105