Hi I have R code which I have converted into an API using the plumber package.
library(plumber)
r <- plumb("code.R")
r$run(port=8000)
The code sits in the file code.R
and using the above lines I am able to access the API from my local machine from the URL http://localhost:8000/functionname
However when I replace the local host with my IP address and access the same from other machines in the network, I am unable to access the API. Why is that?