Rselenium无法使用docker工具箱连接到远程服务器

时间:2018-04-23 06:02:29

标签: r docker rselenium

我对网络抓取完全不熟悉,我正在尝试使用RSelenium。我使用this连接docker工具箱:

但在尝试连接到远程服务器时仍然出现此错误:

  > remDr$open()
[1] "Connecting to remote server"
Error in checkError(res) : 
  Undefined error in httr call. httr output: Failed to connect to localhost port 4445: Connection refused

另外,当我在docker toolbox terminal中运行它时

docker run -d -p 4445:4444 selenium/standalone-firefox

我明白了

    e735076ce3ddcb183fe723dfda6dc0477bae8adf3550dc414880552e852be194
C:\Program Files\Docker Toolbox\docker.exe: Error response from daemon: driver failed programming external connectivity on endpoint jolly_wing (27a6446811ba909ea9a11af7a764bdeed31aaf06e6aeea10d99fc115f779f113): Bind for 0.0.0.0:4445 failed: port is already allocated.

0 个答案:

没有答案