I am new to Selenium Web driver as well as Grid 2.
I am trying to run a test case but it gives me an exception
Exception in thread \"main\" o
you can check url http://localhost:4444/grid/console , if already selenium grid is up and running but need to check whether any node is registered or not !!(i.e check any browser is register or not)
if not you need to register selenium node using below command
java -jar selenium-server-standalone-x.xx.0.jar -role node -hub http://localhost:4444/grid/register
make sure firefox browser is installed on the machine and geckodriver is present on the Path.
sometimes if you already running selenium hub using docker container you need to kill docker container using docker kill $(docker ps -q);
If you are running webdriverio then check docker selenium container running status .