"Server URL is invalid" Error

16 views
Skip to first unread message

buddhika

unread,
Mar 1, 2012, 3:28:47 AM3/1/12
to mChoice Developer
Im getting Error:Server url is invalid. Application is Done by PHP and
hosted in godaddy server.
URL is http://204.236.220.126:65182/services .
Help me to solve this.
Thanks in advance.

Azeem Mumtaz

unread,
Mar 4, 2012, 4:29:05 AM3/4/12
to mchoice-...@googlegroups.com
Did you try "wget http://204.236.220.126:65182/services" from your app host server. What did you get as the response? 

buddhika

unread,
Mar 4, 2012, 10:33:33 PM3/4/12
to mchoice-...@googlegroups.com
Thanks for your help.I tried
                $url = 'http://204.236.220.126:65182/services';
                $outputfile = "dl.html";
                $cmd = "wget -q \"$url\" -O $outputfile";
                exec($cmd);
But it's still the same. Then I tried
                $homepage = file_get_contents('http://204.236.220.126:65182/services');
                echo $homepage;
it returns "failed to open stream: Connection refused in .........."
Reply all
Reply to author
Forward
0 new messages