tying to get Eikon API
it works in Rstudio but not Rstudio cloud
error in curl::curl_fetch_memory(url, handle = handle) :
Failed to connect to localhost port 9000: Connection refused
any idea please?
This indicates you are attempting to connect to a server running in rstudio.cloud, so unless you launched the API you are trying to reach within your project, there is nothing to connect to.
thanks but i do the exact same thing in rstudio and rstudio cloud. you mean there is a way to run API within my project in rstudio cloud?
You are likely running something on your local machine that is listening on port 9000 that your R code is connecting to. Whatever that is, it isn't running in rstudio.cloud, and therefore you cannot connect to it. You can either make that server/service publicly available, or you can run it within your project on rstudio.cloud.
Thank you. How to run it within project ?
I have no idea what it is you are running locally to provide advice on how to run it, just that it is listening on port 9000.
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.