Diederick de Vries
02/19/2025, 9:37 AMTom
02/19/2025, 10:21 AMLee Turner
02/19/2025, 11:02 AMwiremock/wiremock:latest
and it ran with WireMock version 3.9.2
. I assume this is because the last time I ran with this image that version was the latest.
If I delete that image locally and run again, it recognises there isn't an image and pulls down WireMock version 3.12.0
which is the latest versionDiederick de Vries
02/19/2025, 11:35 AMDiederick de Vries
02/19/2025, 11:42 AM\
missing, but I've added that now and it didn't solve the problem.Tom
02/19/2025, 11:45 AMDiederick de Vries
02/19/2025, 11:45 AMDiederick de Vries
02/19/2025, 12:23 PM-p 8091:8080
en sudo netstat -tulpen
doesn't show anything else on that port, but to the same result. Is there some way I can turn on extra logging to see what's going on?Lee Turner
02/19/2025, 1:26 PMDiederick de Vries
02/19/2025, 1:27 PMDiederick de Vries
02/20/2025, 7:56 AMcurl <http://localhost:8080/faker>
from one of your http files, I can see this in the container's console:
Host: [localhost:8080]
User-Agent: [curl/8.5.0]
Accept: [*/*]
However, after a few seconds, I get the same time-out as earlier:
curl: (7) Failed to connect to localhost port 8080 after 2 ms: Connection refused
Lee Turner
02/20/2025, 9:17 AMjava -jar wiremock-standalone-3.12.0.jar
You can then try and hit the server - curl <http://localhost:8080>
Given we haven't configured any stubs, there should be a message in the console where you are running WireMock that says:
No response could be served as there are no stub mappings in this WireMock instance.
Lee Turner
02/20/2025, 9:18 AM-v
to your curl command to get more output and add the output for the request that is refused here in this threadDiederick de Vries
02/20/2025, 10:31 AMLee Turner
02/20/2025, 10:32 AMDiederick de Vries
02/20/2025, 10:34 AMLee Turner
02/20/2025, 10:34 AM