Good morning Team, I am getting below error while ...
# general
k
Good morning Team, I am getting below error while testing wiremoc setup mappings :
Curl -X POST <https://localhost:8080/raw> -H 'Accept: application/vnd.com.capitalone.ts2proxy+xml' -H 'correlationID:12345678901234' -H 'user-ID:test' -d '<?xml version="1.0"
curl: (7) Failed to connect to localhost port 8080 after 4 ms: Couldn't connect to server
curl: (6) Could not resolve host: application
t
It looks like you might be trying to connect via HTTPS to an HTTP port. Could you share the startup CLI command you’re using?
k
tried with http as well instead of https
t
OK, I probably can’t help much more without knowing how you’re starting WireMock
k
sorry I have got that..and ran it successfully by running the command with
docker run -p 8080:8080 localpppstub
thanks
👍 1