I now solved it. I had set IP and port in the reverse.php file and later corrected it. Though I reuploaded the file in website, it seem to have taken older cache itself. Freshly uploaded my file with proper IP and Port (changed IP value from single quote to double quote for some unknown reason )and then it started working perfectly