So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By upp_kishore
#66226 Hello All,

I have recently started working with ESP8266.

Looking at some examples on web I managed to get/post some data onto thingspeak website. Later I created a small php web interface(http://www.mrsvskiran.000webhostapp.com ... erface.php) which basically should be updated by sensor value connected to ESP8266 and should send out the updated LED value from the web interface to ESP8266.

For connecting to host "www.mrsvskiran.000webhostapp.com", I am giving the command "AT+CIPSTART=0,"TCP","www.mrsvskiran.000webhostapp.com",80". I am also getting response saying that "0,CONNECT

OK" . But within few seconds I am getting the message "0,CLOSED". If I use the same command to connect with Google.com, I see that the connection stays live. Not able to figure out the issue here. Request you to kindly let me know the solution for this.

I am pasting the set of commands and the response I am getting below:

AT+GMR

AT version:1.1.0.0(May 11 2016 18:09:56)
SDK version:1.5.4(baaeaebb)
Ai-Thinker Technology Co. Ltd.
Jun 13 2016 11:29:20
OK

AT+CWMODE=1
OK

AT+CWJAP="xxxx","xxxx"

WIFI DISCONNECT
WIFI CONNECTED
WIFI GOT IP

OK
AT+CIFSR

+CIFSR:STAIP,"192.168.x.xxx"
+CIFSR:STAMAC,"5c:cf:xx:xx:xx:xx"

OK
AT+CIPMUX=1


OK
AT+CIPSTART=0,"TCP","www.mrsvskiran.000webhostapp.com",80

0,CONNECT

OK
0,CLOSED
AT+CIPSEND=0,93

link is not valid

ERROR

---------------------

Thanks in advance !!