selenium grid listening on node port instead of hub port

后端 未结 3 1704
离开以前
离开以前 2020-12-20 07:30

For my test, I am running grid and node locally on different ports.

java -jar /usr/bin/selenium-server.jar -port 4444 -role hub
java -jar /usr/bin/selenium-s         


        
3条回答
  •  猫巷女王i
    2020-12-20 07:44

    There might be a chance, that your previous Grid configuration on the port 4444 was not closed properly. you just if any process is running with the port 4444 and shutdown it. you can use below commands to know the process which is running and to turn of the process.

    C:\Users\username>netstat -o -n -a | findstr 0.0:4444
    TCP    0.0.0.0:4444      0.0.0.0:0              LISTENING       3116
    C:\Users\username>taskkill /F /PID 3116
    

    Then Reconfigure the Grid and run it may work with port 4444 --all the best.

提交回复
热议问题