Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows 10 - chromedriver.exe returns me Only local connections are allowed

Tags:

when I try to run chromedriver.exe last version it returns me the same error message but always with another port:

Starting ChromeDriver 73.0.3683.20 (8e2b610813e167eee3619ac4ce6e42e3ec622017) on port 64862
Only local connections are allowed.
Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.

I use Windows 10 Home. Where I can enable it to allow internet connections?

like image 325
Iefimenko Ievgen Avatar asked Feb 09 '19 06:02

Iefimenko Ievgen


1 Answers

This is from a quote from the official chromedriver website. "By default, ChromeDriver only allows local connections. If you need to connect to it from a remote host, use --whitelisted-ips switch on the command line to specify a list of IP addresses that are allowed to connect to ChromeDriver."

http://chromedriver.chromium.org/security-considerations

In other words, Only local connections are allowed. is supposed to show when running chromedriver if not you want to run it from a remote host.

like image 165
Lewiad Avatar answered Sep 18 '22 06:09

Lewiad