Giter Site home page Giter Site logo

How to be scope in the IP address? about stf HOT 2 CLOSED

openstf avatar openstf commented on September 13, 2024
How to be scope in the IP address?

from stf.

Comments (2)

sorccu avatar sorccu commented on September 13, 2024

Hi,

Thank you!

You can change the IP address STF uses by launching STF with stf local --public-ip 192.168.1.100. You should then be able to access it from other
machines via http://192.168.1.100:7100.

Note that for a real deployment you would not use stf local at all, but
instead start all the processes separately. Currently we lack documentation
for doing that, but lib/cli.js might give you a few hints. Later on we'll
publish systemd unit configurations to make it easier.

You can change the RethinkDB address by setting the RETHINKDB_PORT_28015_TCP
environment variable (it's link docker --link format). By default it's
tcp://127.0.0.1:28015. Users will not connect to the database directly,
though, so you usually don't have to change the address if you run STF
locally.

So, if you wanted to change both the public IP and the RethinkDB address,
you'd launch STF with something like this:

RETHINKDB_PORT_28015_TCP=tcp://192.168.1.100:28015 stf local
--public-ip 192.168.1.100

And you should be OK.

from stf.

shkd avatar shkd commented on September 13, 2024

Thanks for the quick reply!
A result, I were able to use without problems.
Thank you!

from stf.

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.