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.
Asked
Active
Viewed 541 times
1 Answers
3
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).

Jeroen Ooms
- 31,998
- 35
- 134
- 207
-
I need another help from you Jeroen – sharon paul Sep 18 '15 at 10:25
-
is there any way to change the default configuration at `.opencpu.conf`? – haper Jun 25 '16 at 11:56