Code Monkey home page Code Monkey logo

Comments (5)

rchl avatar rchl commented on May 24, 2024

DYNAMO_ENDPOINT is the database endpoint to which dynamodb-admin is connecting in this case.

I guess the wording could use some improvement to make it clearer. Maybe it wouldn't have to mention 'http' protocol as that makes people think that it's a server that handles http requests while it's not (dynamodb works over http).

from dynamodb-admin.

gonzalo-roberto-diaz avatar gonzalo-roberto-diaz commented on May 24, 2024

OK, but what I am saying is, when the DYNAMO_ENDPOINT system variable is not defined, the random port is the one being used, not the default 8000).

from dynamodb-admin.

rchl avatar rchl commented on May 24, 2024

Again, the port on which dynamodb-admin is running has nothing to do with DYNAMO_ENDPOINT and its port. These are two different ports - one is where dynamodb-admin is exposed on and the other is where dynamodb (database) is running on. Dynamodb-admin doesn't run the database itself so it has to connect to one that user has running already. That is the endpoint to which the first line refers to. The second line is the endpoint on which dynamodb-admin is exposed.

Basically first line is the endpoint of the database and second line is the endpoint of the UI.
And looking at the code, I don't think we have a bug that the endpoint of the database gets random port assigned.

from dynamodb-admin.

rchl avatar rchl commented on May 24, 2024

Someone just fixed a bug #48 that made default port of the UI get randomly assigned instead of using 8001. Maybe that is the bug that you meant?

from dynamodb-admin.

rchl avatar rchl commented on May 24, 2024

I've updated slightly console output on start to maybe make it more clear.

Otherwise I don't think there is any bug here so closing.

from dynamodb-admin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.