I would like to access my web based home automation controller remotely, using cURL from a php program. I have my port forwarding set up to use a non 'well known port' . But curl_setopt($ch, CURLOPT_PORT, xxxx) does not work - the only port value that is accepted is 80. Any other port number results in a 'connect() timed out!' error.
I'm reluctant to use port 80 since I believe that it's more likely to get hacked than an obscure port number.
Is there any way around this problem - it seems to be specific to x10hosting since the php script works elsewhere.
I'm reluctant to use port 80 since I believe that it's more likely to get hacked than an obscure port number.
Is there any way around this problem - it seems to be specific to x10hosting since the php script works elsewhere.