Giter Club home page Giter Club logo

Comments (4)

McSneaky avatar McSneaky commented on July 2, 2024

You want random people on the internet be able to connect to your database directly? Or you want them to be able to connect to your backend?

Anyway, to allow direct DB access just open up ports in your firewall to allow driver connections on port 28015 and in case you are running cluster might need to open up 29015

from rethinkdb.

gabor-boros avatar gabor-boros commented on July 2, 2024

In addition to what @McSneaky wrote, please read these:

Also, exposing your local machine's DB is risky from multiple perspectives. For example, although I'm not aware any vulnarabilities, you are risking that someone can access your computer through the DB.

Here is what I would do:

  1. create a server on DigitalOcean (or somewhere else) and install rethinkdb
  2. setup firewall rules to limit port access
  3. setup a simple backend service that is "relaying" the queries or at least have a reverse proxy forwarding the admin site requests (so you can setup basic auth for the admin site)

Generally speaking, I understand you wouldn't like to pay for a DigitalOcean droplet, but exposing yourself to risks may will result in higher prices.

from rethinkdb.

KalybosPro avatar KalybosPro commented on July 2, 2024

Okay thank you. I'm just a beginner for rethinkdb that's why. Of course, I would like to pay for a DigitalOcean droplet, but I don't have money now.

from rethinkdb.

KalybosPro avatar KalybosPro commented on July 2, 2024

from rethinkdb.

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.