|
That means either:
(1) Your PHP host does not allow making remote connections (ie: fopen(),fsockopen(),etc). It used to be easy to tell with phpinfo(), but just ask them to know for sure.
(2) The IP or port is wrong in your script, or the DNAS is not running -- the warning can be suppressed with: error_reporting(E_ERROR); early in the script (at least before fsockopen() is called), so that the script can continue and return "offline."
|