2

how i can use a specific ip of vps for sending curl request in php im trying to use

curl_setopt($curlh, CURLOPT_INTERFACE, "xxx.xxx.xxx.xxx");

but it always select primary ip i have two ip,s on vps e.g. primary ip 1.23.45.6 and secondry ip 1.23.45.7

it always select primary ip

Brad
  • 159,648
  • 54
  • 349
  • 530

0 Answers0