Answer the question
In order to leave comments, you need to log in
Why doesn't curl --resolve work?
I'm trying to run the command in Ubuntu: curl -v --resolve https://vk.com:443:172.20.10.177 https://vk.com
The ip
address is correct, the port is correct, the syntax seems to be the same, but it gives an error:
Couldn' t parse CURLOPT_RESOLVE entry ' https://vk.com:443:172.20.10.177 '!
* Trying 87.240.137.158:443...
What am I doing wrong?
Answer the question
In order to leave comments, you need to log in
the syntax seems to be
--resolve <host:port:address>
curl -v --resolve vk.com:443:87.240.139.194 https://vk.com
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question