Esp8266 Error -1

i want to send data using get from nodemcu to phpmyadmin localhost but as i am uploading the code
error -1shows that is not getting the response payload and one more thing as i am a beginer i want to know which ip address is to be used in the path either 127.0.0.1(ip address of localhost) or ip address of the wifi network we are working on ....btw my code is

#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include <ESP8266HTTPClient.h>

const char *ssid = "Nodemcu";
const char *password = "yonexcarbonex";

//Web/Server address to read/write from
const char *host = "192.168.43.57";

void setup() {
delay(1000);
Serial.begin(115200);
WiFi.mode(WIFI_OFF); //Prevents reconnection issue (taking too long to connect)
delay(1000);
WiFi.mode(WIFI_STA); //This line hides the viewing of ESP as wifi hotspot

WiFi.begin(ssid, password); //Connect to your WiFi router
Serial.println("");

Serial.print("Connecting");
// Wait for connection
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}

//If connection successful show IP address in serial monitor
Serial.println("");
Serial.print("Connected to ");
Serial.println(ssid);
Serial.print("IP address: ");
Serial.println(WiFi.localIP()); //IP address assigned to your ESP
}

void loop() {
HTTPClient http; //Declare object of class HTTPClient

String ADCData, station, getData, Link;
int adcvalue=analogRead(A0); //Read Analog value of LDR
ADCData = String(adcvalue); //String to interger conversion
station = "B";
Serial.print(ADCData);

//GET Data
getData = "?status=" + ADCData + "&station=" + station ; //Note "?" added at front
Link = "http://192.168.43.57/c4yforum/getdemo.php" + getData;

http.begin(Link);

int httpCode = http.GET();
String payload = http.getString();

Serial.println(httpCode);
Serial.println(payload);

http.end(); //Close connection

delay(5000);
}

If you turn up compiler warnings you will get this warning:

\/Users/john/Documents/Arduino/sketch_jul13a/sketch_jul13a.ino: In function 'void loop()':
/Users/john/Documents/Arduino/sketch_jul13a/sketch_jul13a.ino:53:18: warning: 'bool HTTPClient::begin(String)' is deprecated (declared at /Users/john/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.h:155) [-Wdeprecated-declarations]
   http.begin(Link);
                  ^

The term "deprecated" means "this feature may stop working in the future so we recommend you change to the new way of doing things now". You should look at File->Examples->ESP8266HTTPClient->BasicHttpClient to see how the library wants you to do it.

i want to know how will i get httpCode>0

Harsh1004:
i want to know how will i get httpCode>0

I don't know. Maybe following the library example will help.