I faced the same issue in past after upgrading Service pack it was resolved. But also suggest you to look at the below.
- Check your network settings (firewall, proxy, antivirus software) to
find the cause of “Permission denied: connect” - Find out it is windows 7’s problem, upgrade to SP1 the problem
solved. - Seems when running web-driver, it will open many many TCP ports and
exhaust the available ports, then throw this exception. Check
Selenium Version if older then 2.44 then try upgrading to 2.44 and
see what happens. - Running the following command, killed all running IEDriverServer.exe
processes, taskkill /F /IM IEDriverServer.exe
2
solved Random UnreachableBrowserException when running Selenium tests