Answer the question
In order to leave comments, you need to log in
Can you please tell me how to make a Linux application access a URL when it only supports IP addresses?
Hello.
You need an application that can only work with IP:PORT addresses to access the address https:/xxx.com/dasdasd/dasdasd/dsasasd?
dsdasdasdasda connection from https:/xxx.com/dasdasd/dasdasd/dsasasd?dsdasdasdasda ?
Tried this code:
$ mkfifo proxypipe
$ mkfifo proxypipe2
$ nc -l 5000 -k > proxypipe < proxypipe2 &
$ while true do; openssl s_client -connect www.google.com:443 -quiet <proxypipe> proxypipe2; done
did not work, connect also reports that aress is unknown and other bugs.
I'm looking for the easiest and most reliable way.
Thank you !
Answer the question
In order to leave comments, you need to log in
And nothing, that on IP:PORT and https://url/path are at least different protocols. Can your application handle the https protocol?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question