@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
pavan kumar s
10/21/2023, 12:19 PM
And now I am getting different error as below
b
Bas Dijkstra
10/21/2023, 12:21 PM
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
pavan kumar s
10/21/2023, 12:30 PM
okay @Bas Dijkstra I will check about port, thanks for input
m
Matt (pactflow.io / pact-js / pact-go)
10/23/2023, 1:09 AM
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