Chat freely about anything...

User avatar
By Kvashir
#56156 Hello guys.

- I have the following configuration:

1 ESP8266 12E AP/STA - Server (A from now on) (could be connected to wifi network but let's exclude it for now).

1 ESP8266 12 AP/STA - Client (B from now on) (AP/STA because i could connect to it directly or using A dhcp assigned IP).

- Configuration:

A works as a DHCP server for the others ESP client.

Let's assume A ip is: 192.168.4.10
Let's assume B is connected to A and its DHCP assigned ip is: 192.168.4.11

- What i have done yet:

I can connect directly to A and to B via smarphone (android) APP and i can send some POST requests to them.

I could send a request from A to B via sketch.

- What i want to do:
I want to send a request via DHCP assigned IP to B.

Let me explain better: B, as I said before, has 192.168.4.11 as its IP.

Let's assume i'm connected my smartphone to A and i want to send a request to B via its IP directly from my app. It doesn't work.

I can ping B IP Address from my smartphone or laptop while i'm connected to A but it doesn't work to send request. Why?

Can you please help me?

Sorry for my bad english. I tried my best. :oops: