Answer the question
In order to leave comments, you need to log in
How to put a script hanging on VDS on a proxy?
Good evening guys, please tell me the following.
I have a script that is hosted on the VDS and it starts with the line
$fp = stream_socket_client("tcp://localhost:8089", $errno, $errstr, 30);
Further, the whole script consists of a switch case and, of course, it works through the IP server.
Do I understand correctly that in order for it to work on the proxies I need, I should register a proxy server for the place tcp://localhost:8089? please correct me if i'm wrong. Thanks in advance everyone!
Answer the question
In order to leave comments, you need to log in
That's right, but then in the proxy server you need to send the connect command with your hands with the real server
ip Or the socket5 protocol (it depends on the proxy)
There are easier options ..
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question