OpenCPU:如何更改默认端口?

OpenCPU: how to change the default port?

有没有办法让 OpenCPU 监听不同于 :80 的端口?

使用 Docker 应该很容易,但我是 运行 推荐的专用 Ubuntu 机器 here

ps。我只使用 opencpu-server 没有 opencpu-cache 所以没有 nginx.

默认情况下,它已经在附加端口 8004 上运行。您应该可以在 /etc/apache2/sites-available/opencpu.conf 文件中更改它。