in reply to http ip connection

What you get back is an error message.

Try printing out $res->content, and also $res->status. Also check $res->is_error.

Replies are listed 'Best First'.
Re^2: http ip connection
by bigup401 (Pilgrim) on Jun 20, 2017 at 11:04 UTC

    am not sure this can do anything. the problem is not with script coz works at my side. bt not hosting space. i think hosting idea can fix this. someone told me to try to tell my host for enabling ipv6

      i have understand it now. this works but failed in Apache . which is like Apache not accepting connection from ip:400. i think htacess can solve this. to let apache accept connecting to ip:400

        i knew it was hosting problem. this has been solved by hosting provider opening port 4000 from outcoming connections. 4000