I used TestProject SDK to execute tests. My TestProject agent docker is started successfully with IP address is 172.31.0.4 and when I used this address from SDK it throws me this error:
io.testproject.sdk.internal.exceptions.AgentConnectException: Failed communicating with the Agent at http://172.31.0.4:8585 Caused by: org.apache.http.conn.ConnectTimeoutException: Connect to 172.31.0.4:8585 [/172.31.0.4] failed: Connect timed out Caused by: java.net.SocketTimeoutException: Connect timed out
driver = new ChromeDriver(new URL("http://172.31.0.4:8585"), new ChromeOptions());
So which kind of address should I use to execute tests from SDK on docker agent?