- Thu Dec 06, 2018 1:05 am
#79428
Hi QuickFix thanks for your answer.
I know what you said but until now I use the following to config ESP:
IPAddress ip(192, 168, 1, 100);
IPAddress gateway(192, 168, 1, 1);
IPAddress subnet(255, 255, 255, 0);
WiFi.config(ip, gateway, subnet);
and when I sent
client.connect("miodominio", 80);
every thing worked very good and fast.
Now no more, then do you think something has changed in my router? I realy have to say that if I put dns with thew some address of gateway (router):
IPAddress ip(192, 168, 1, 100);
IPAddress gateway(192, 168, 1, 1);
IPAddress subnet(255, 255, 255, 0);
IPAddress dns(192, 168, 1, 1);
WiFi.config(ip, gateway, subnet, dns);
the connection works also if takes almost 40-50 secs to realize connection.
Instead if I put directly the address in the connection and I don't use dns in config
the connection up in 3-5 seconds.
Could all this depend from the router conf?
I didn't touch any time the router configurations, then this mean the provider changed some parameter in the router without telling me anything? Or what else?