Enlightened
Enlightened

Reputation: 239

How to restrict access to Selenium from ethernet?

I have Selenium server listening to 4444 port. How can I make selenium listen to connection only from localhost but not from the whole internet?

Or is there any other way to secure Selenium?

My selenium server is run with such parameters:

java -jar selenium-server-standalone-2.44.0.jar -p 4444 

Upvotes: 0

Views: 504

Answers (1)

the_marcelo_r
the_marcelo_r

Reputation: 1856

This is something that is out of the scope of the application itself, you could place your Selenium server behind a reverse proxy (e.g., Apache Web Server) and just allow local connections to it or just configure your OS's firewall.

Upvotes: 1

Related Questions