https://linen.dev logo
#general
Title
# general
k

Karthik Subramani (CONT)

11/09/2023, 9:45 AM
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

Tom

11/09/2023, 10:25 AM
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

Karthik Subramani (CONT)

11/09/2023, 11:04 AM
tried with http as well instead of https
t

Tom

11/09/2023, 1:24 PM
OK, I probably can’t help much more without knowing how you’re starting WireMock
k

Karthik Subramani (CONT)

11/09/2023, 1:42 PM
sorry I have got that..and ran it successfully by running the command with
docker run -p 8080:8080 localpppstub
thanks
👍 1