Skip to Content
Jul 28, 2022 at 11:50 AM Connection refused during ant integrationtests

162 Views Last edit Jul 28, 2022 at 11:51 AM 2 rev

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 Connection refused.

By the way, everything works fine if I start server via ./ and run test from /test.
But it's also important for me to make it work via ant integrationtests.