Hi guys,
I am working with my ESP8266 and I using simple AT commands in order to get used with it. I have a big problem: when I set a TCP server on port 80, I can't reach it opening firefox or other browser. When I write 192.168.1.4 in firefox URL I have this:
ready
ATOK
WIFI DISCONNECT
WIFI CONNECTED
WIFI GOT IP
AT+CWMODE=1OK
AT+CIFSR+CIFSR:STAIP,"192.168.1.4"
+CIFSR:STAMAC,"18:fe:34:da:88:8b"OK
AT+CIPMUX=1OK
AT+CIPSERVER=1,80OK
AT+PING="192.168.1.1"+4
OK
AT+PING="192.168.1.8"+114
OK
AT+PING="192.168.1.8"+3
OK
0,CONNECT+IPD,0,314:GET / HTTP/1.1
Host: 192.168.1.4
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
DNT: 1
Connection: keep-alive0,CLOSED
0,CLOSED appears after some minutes and I think because the browser can't connect to my esp8266.
As you can see I can't receive "ok" from my ESP8266 so I can't use CIPSEND command in order to display something on web page! As you can see from my code, ping command works well and If I ping 192.168.1.4 from my pc, the operation is good too! So,what's the problem? I am following this guide:WiFi Module ESP8266 – 2. TCP CLIENT /Server mode | alselectro
I am using arduino board and arduino software for serial communication.
Thank you