CIPSERVER no input when connecting

JackB
Posts: 1
Joined: Tue May 16, 2017 1:42 pm

CIPSERVER no input when connecting

Postby JackB » Tue May 16, 2017 2:07 pm

Hello, I'm trying to setup a server on the 8266, and have followed all the examples,
basically AT+CWMODE=2 AT+CIPMUX=1 AT+CIPSERVER=1,80
and connect to the AP from a laptop and go to the 192.168.4.1 in my web browser, but I get nothing,
and the browser times out after a little bit saying no response.

As I understand the examples, I should get a "Linked" reply, and then the +IPD input,
but I am getting no inputs. I really hope this isn't a firmware issue, as I don't know how I will upload new firmware,
as I'm using a micro to connect, I don't have a real computer-serial line connection to the 8266.

The AT+GMR info on the 8266 is:
version:1.2.0.0(Jul 1 2016 20:04:45)
SDK version:1.5.4.1(39cb9a32)
Ai-Thinker Technology Co. Ltd.
Dec 2 2016

User avatar
pratik
Posts: 467
Joined: Wed Jun 29, 2016 7:17 pm
Location: India
Contact:

Re: CIPSERVER no input when connecting

Postby pratik » Thu May 18, 2017 12:38 pm

Are you on the same local network?
You should try to use command prompt in Windows and try "ping <esp ip address>" to see if it responds to pings. If it does, then you are set up properly but something is wrong with AT command setup.

YOu can use the server mode in 2 ways:
- Connect your computer and ESP to same router and access ESP server. In this case the ESP server IP will not be 192.168.4.1. It will be the IP assigned to ESP by your router! Maybe this is what your issue is.
- Other way is to set ESP as access point and then connect to it and access the ESP server. In this case IP will be 192.168.4.1 by default.
Regards,
Pratik Panda
Website: http://www.PratikPanda.com

Custom firmware, Knowledge base and freelancing (ESP8266/ESP32):
http://www.iot-bits.com

Who is online

Users browsing this forum: Bing [Bot] and 2 guests