0

I need seleniumGrid to be accessible via localhost (127.0.0.1) and instead of that, it is being offered in address:port 192.168.1.39:4444

What command option can I use to make it use localhost? The command I'm using, right now is:

java -jar selenium-server-4.2.2.jar standalone

I'm using MacOS, 12.5 (Monterey)

1 Answer 1

0

You can use the host flag:

java -jar selenium-server-standalone-4.2.2.jar -host 127.0.0.1
2
  • It looks like selenium-server-standalone-4.2.2.jar is not available anymore Do you know how to get it? Jul 27 at 11:27
  • If the official Selenium site doesn't provide this file, there was probably a big reason to stop the release. I would use the most recent version or open an issue on Selenium's GitHub repo. Either way, this is not related to the question itself. If you find the answer satisfactory, I would suggest marking it as Answered, to signal that this answer is the correct one. Jul 31 at 11:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.