-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Description
Hello Cesar,
I have an interesting situation for Proxies exercise:
If I use:
proxy: {
host: 'localhost',
port: 65535
}
I've got this:
1. ACTUAL: "Hello Proxies"
1. EXPECTED: "{\"message\":\"Client request error: connect ECONNREFUSED 127.0.0.1:65535\",\"statusCode\":502,\"error\":\"Bad Gateway\"}"
Submission results did not match expected!
Status code returned is correct
If I use:
proxy: {
host: '127.0.0.1',
port: 65535
}
I've got this:
1. ACTUAL: "{\"message\":\"Client request error: connect ECONNREFUSED 127.0.0.1:65535\",\"statusCode\":502,\"error\":\"Bad Gateway\"}"
1. EXPECTED: "{\"message\":\"Client request error: connect ECONNREFUSED 127.0.0.1:65535\",\"statusCode\":502,\"error\":\"Bad Gateway\"}"
Submission results match expected
Status code 502 returned from url (http://localhost:34283/proxy), expected 200.
This problem is related to 127.0.0.1 ip but I have no idea what is the problem.
Metadata
Metadata
Assignees
Labels
No labels