Hi Ankita, this isn’t really a WireMock specific problem, but I think there are fundamentally two options for fixing it:
1. Find the hostname of the host that WireMock is running on and inject this as config into your app when running in Jenkins.
2. Ensure WireMock runs on the same host, which is somewhat specific to your setup. Embedding via Java is one option if that’s possible for you, or failing that running it inside the same container.