<@U062HDZS5UH> can you show the part of your code ...
# pact-jvm
b
@pavan kumar s can you show the part of your code where you set / determine the provider port number? Judging from the output, that’s some sort of complex object, but it should be an integer.
p
And now I am getting different error as below
b
It defaults to port 8080 as you can see. I doubt your live service is running on that port (more likely 80 or maybe 443). Consult the docs to find out how to set a custom port number in your provider POM, I don’t know how to do that off the top of my head.
thankyou 1
p
okay @Bas Dijkstra I will check about port, thanks for input
m
Pavan just a minor comment, if you could please copy/paste the code snippets that would be really helpful. Personally, I find screenshots of code much harder to read than copy/pasting. It also makes it hard to search slack for similar messages because they’re hidden within the image
It is also hard for those on mobile to respond