How to run Selenium Grid on Ubutnu 20.04

I have Ubuntu 20 VPS. I would like to run Selenium grid on it. So I have downloaded selenium .jar file and I am able to run hub and nodes on the machine.

But as I see I am able to register node from outside the VPS machine e.g. from my local machine like

java -jar selenium-server-standalone-3.141.59.jar -role node -hub http://123.456.78.30:4444/grid/register/

I don’t want to allow this registration. How can I disallow it?

How to force hub to register only nodes via local connection?


Go to Source of this post
Author Of this post: Čamo
Title Of post: How to run Selenium Grid on Ubutnu 20.04
Author Link: {authorlink}