According to the documentation, https://www.rplumber.io/, it says that if we use plumber$run() it will just run locally localhost:8000. And I want to publish it in a remote. How can I start a remote API using plumber package?
Asked
Active
Viewed 425 times
1 Answers
1
See the host
parameter on run()
. e.g. $run(host="0.0.0.0")

Jeff Allen
- 17,277
- 8
- 49
- 70
-
Thanks. Also explained why here: [github plumber #101: Listen on localhost only by default](https://github.com/trestletech/plumber/issues/101) – phili_b Jul 09 '19 at 11:40