OpenCPU: how to change the default port?

1.6k views Asked by At

Is there a way to have OpenCPU listening on a port different from :80?

It should be easy using Docker, but I'm running a dedicated Ubuntu machine as recommended here.

ps. I'm only using opencpu-server without opencpu-cache and so without nginx.

1

There are 1 answers

2
Jeroen Ooms On BEST ANSWER

It already runs on an additional port 8004 by default. You should be able to changed that in your /etc/apache2/sites-available/opencpu.conf file.