Answer the question
In order to leave comments, you need to log in
Python. selenium. Webdriver error (0x2740). What to do?
Climbed in the internet, but did not understand how to fix this error.
In general, I installed the webdriver for Chrome, put it in PATH and everything is OK, but about calling chromedriver it gives the following error:
Starting ChromeDriver 83.0.4103.39 (ccbf011cb2d2b19b506d844400483861342c20cd-refs/branch-heads/[email protected]{#416}) on port 9515
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerat.. for suggestions on keeping ChromeDriver safe.
[1590612984.681][SEVERE]: bind() returned an error: Une seule utilisation de chaque adresse de socket (protocole/adresse rÚseau/port) est habituellement autorisÚe. (0x2740)
IPv6 port not available. Exiting...
What to do?
Answer the question
In order to leave comments, you need to log in
Don't be lazy, follow the link - https://chromedriver.chromium.org/security-conside...
And find the answer there
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.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question