I am working with opencpu. I installed the opencpu as a single user mode. When the session is expired the link is down and sometimes the port number is changing dynamically. I would like the port to be constant during every run even the current session is expired.
You can set the port when you start the single user server:
library(opencpu)
opencpu$stop()
opencpu$start(1234)
This will start opencpu on port 1234. I recommend you try the cloud server, which always runs on port 80 (http) and 443 (https).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.