Chromedriver does not start a Browser and causes tests to fail when run selenium tests from Teamcity and Jenkins, which both give same error messages:
Starting ChromeDriver 76.0.3809.126 (d80a294506b4c9d18015e755cee48f953ddc3f2f-refs/branch-heads/3809@{#1024}) on port 51389 Only local connections are allowed. Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
However, with exactly same Chromedriver my tests run without any issues from visual studio and command prompt
Command used to run tests: dotnet test --filter TestCategory=Blank
Chrome version: 76.0.3809.132
Chromedriver version: 76.0.3809.126
OS: Windows 10