title: Timeout when accessing web service from Gradle on GitHub action runner
body: <p>I'm trying to run integration tests through Gradle in a GitHub action, but they time out. If I try to access the endpoint from <code>curl</code>, it works nicely but if I do the very same <code>GET</code> from Gradle, it times out.</p>
  <p>So this works:</p>
  <pre><code>- name: Check endpoints
    run: |
      curl http://host.domain:31000/somePath/
  </code></pre>
  <p>But this times out:</p>
  <pre><code>- name: Run integration tests
    run: ./gradlew --no-daemon -Pserver_url=http://host.domain:31000 :intTest --tests ConnectTest
  </code></pre>
  <p>That test is created to chase this issue and it just does a <code>GET</code></p>
  <p>Anybody an idea how to fix this?</p>