-->
Page 1 of 3

Server only working in AP-mode?

PostPosted: Tue Oct 07, 2014 5:31 am
by whyphi
Hi,

can it be that the ESP8266 only works as server when it is configured as AP and i connect to it by wifi?
And further, that it always runs on 192.168.4.1 in that case?
I tried to connect to the server as the modul was connected to my local accesspoint, but it does not react.

regards
whyphi

Re: Server only working in AP-mode?

PostPosted: Tue Oct 07, 2014 8:23 am
by villTech
You should still be able to enable server via:
AT+CIPMUX=1
AT+CIPSERVER=1,"PORT"
even when your esp module is connected to an ap.

Re: Server only working in AP-mode?

PostPosted: Tue Oct 07, 2014 1:04 pm
by whyphi
I think i still don't understand correctly how it works.
Is it correct that i can only access the ESP8266 server when i am connected to it as a wifi-client?

For some reason i can only reach the ESP8266 server when i am connected to it as wifi client and i have to use the fixed server address 192.168.4.1.

What i need is the ESP8266 running as server, connected to my local AP. Then i want to access the server from my LAN side.

Hope the module is capable of doing so!?

---------------------------------
UPDATE:
ok, it seams as if it only works in CWMODE=1, not 3! :?
Thought it would work in both modes but it doesn't.

Re: Server only working in AP-mode?

PostPosted: Tue Oct 07, 2014 7:59 pm
by jonsmirl
If AP and STA mode don't work simultaneously, this chip is never going to mesh (unless some diehard rewrites the whole networking stack).