I have Integration test which have call to a configured WireMock server. I can see in the logs, that wiremock starts successfully, also I can curl the URL, but when I'm trying to reach URL from test via Spring Integration Gateway I get java.net.ConnectException: Connection refused.
By the way, everything works fine if I start server via ./hybrisserver.sh and run test from /test.
But it's also important for me to make it work via ant integrationtests.