Closed jfdesomzee closed 6 years ago
It's possible that you have another process running on port 80 on that Linux host. See https://superuser.com/questions/42843/finding-the-process-that-is-using-a-certain-port-in-linux#42849 for some ideas on how to track that down.
Closing due to inactivity. Please reopen if you believe there's still a bug.
i do have the same problem and no the issue occurs both on IBM Cloud (CF) and local.
Can you provide information about your session, machine, and the commands/output you're seeing?
sure; i am running Ubuntu 16.04 and my commands are;
library(plumber)
appDir <- paste(getwd(), "api.R", sep="/") r <- plumb(appDir)
r$run(port=80)
The error message is;
local
r$run(port=80) Starting server to listen on port 80 Running the swagger UI at http://127.0.0.1:80/__swagger__/ Error in startServer(host, port, app) : Failed to create server
on IBM Cloud
2018-05-06T00:24:36.91+0200 [APP/PROC/WEB/0] OUT >
2018-05-06T00:24:36.91+0200 [APP/PROC/WEB/0] OUT > appDir <- paste(getwd(), "api.R", sep="/")
2018-05-06T00:24:36.91+0200 [APP/PROC/WEB/0] OUT > r <- plumb(appDir)
2018-05-06T00:24:36.97+0200 [APP/PROC/WEB/0] OUT >
2018-05-06T00:24:36.97+0200 [APP/PROC/WEB/0] ERR Starting server to listen on port 80
2018-05-06T00:24:36.97+0200 [APP/PROC/WEB/0] OUT > r$run(port=80)
2018-05-06T00:24:36.99+0200 [APP/PROC/WEB/0] ERR Error in startServer(host, port, app) : Failed to create server
2018-05-06T00:24:36.99+0200 [APP/PROC/WEB/0] ERR Calls:
Thank you for your prompt reply.
PS: My aim is to run plumber on IBM Cloud as a CF application using "https://github.com/beibeiyang/cf-buildpack-r/blob/cedar-14/bin/compile".
Hello,
I had trouble with accent using pumbler under windows. As this is not my only issue involving windows and UTF-8 I decided to test it on a Linux machine.
I'm trying to run a simple example but I got the following message:
Running the swagger UI at http://10.10.62.169:80/__swagger__/ Error in startServer(host, port, app) : Failed to create server
Does anyone have an idea?
Thanks in advance
Jef