Selenium: Invalid “already running” error when starting server

后端 未结 15 2371
名媛妹妹
名媛妹妹 2021-01-31 02:32

I am trying to get the Selenium server up and running. However, when I type:

java -jar selenium-server-standalone-2.0b3.jar

I get an Exception

15条回答
  •  耶瑟儿~
    2021-01-31 03:09

    lsof returned no results in my case.

    On a Ubuntu machine I had to do the following:

    sudo netstat -tapen | grep ":4444 "
    

    Reply was like:

    tcp6       0      0 XXXXXXXXX:4444       :::*                    LISTEN      107        31526       **10479**/java
    

    And to kill the Selenium server process identified (in my case) with 10479

    sudo kill 10479
    

提交回复
热议问题