Thanks for your replies …please find the answers for the above questions .
Could you explain us about your code on the NodeMCU side?
I have added the NodeMCU code below .
Which libraries are you using in the NodeMCU code?
ESP8266WiFi.h from the website http://easycoding.tn/
Are you trying to create a simple HTTP server using NodeMCU?
Yes , am trying to create simple HTTP server using NodeMCU
In that case, are you sending back response using the appropriate methods within the libraries?
Yes ,am sending back response .
Hoping to get solutions at the earliest … Thanks in advance 
NodeMCU code :
#include <ESP8266WiFi.h>
WiFiServer server(80);
void setup()
{
Serial.begin(9600);
pinMode(16, INPUT);
WiFi.disconnect();
delay(3000);
WiFi.begin(“Albert Einstein”,“Albert@007”);
while ((!(WiFi.status() == WL_CONNECTED))){
delay(300);
}
Serial.println(“connected .My Ip is :”);
Serial.println((WiFi.localIP().toString()));
server.begin();
}
void loop()
{
WiFiClient client = server.available();
if (!client) { return; }
while(!client.available()){ delay(1); }
client.println("HTTP/1.1 200 OK");
client.println("Content-Type: text/html");
client.println("");
client.println("<!DOCTYPE HTML>");
client.println("<html>");
client.println(digitalRead(16));
client.println("</html>");
client.stop();
delay(1);
}