BLYNK
HOME       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

Local Server login time out

Hello

I am trying to create a project using a local server and Arduino nano. (normally I use the cloud server).

I have set the server up on a Windows 10 pc I presume this is running as I can connect to it via the app.

I am now am doing my “hello world” program but although I am connecting to my wifi I don’t get connection to the server I just get Login timeout???

if any one can help or at least point me in the right direction that would be much appreciated.

Many thanks

527] Connecting to Darrington 5G
[3713] AT version:1.1.0.0(May 11 2016 18:09:56)
SDK version:1.5.4(baaeaebb)
compile time:May 20 2016 15:08:19
OK
[12949] +CIFSR:STAIP,“192.168.68.128”
+CIFSR:STAMAC,“8c:aa:b5:0d:ad:3c”
[12950] Connected to WiFi
[26220] Login timeout
[44509] Login timeout
[62803] Login timeout
[81097] Login timeout
[99388] Login timeout

#define BLYNK_PRINT Serial
#include <ESP8266_Lib.h>
#include <BlynkSimpleShieldEsp8266.h>

char auth[] = "ZfYOFtQnbvoqaxI1HjeK3YLaF6QcE3oI";
char ssid[] = "**********";
char pass[] = "*************";
char server[] = "192.168.68.129";
#include <SoftwareSerial.h>
SoftwareSerial EspSerial(2, 3); // RX, TX
#define ESP8266_BAUD 9600
ESP8266 wifi(&EspSerial);

void setup()
{
	Serial.begin(115200);
	delay(10);
	EspSerial.begin(ESP8266_BAUD);
	delay(10);
	Blynk.begin(auth, wifi, ssid, pass, server,9443);
}

void loop()
{

	Blynk.run();
	delay(100);
	
}

What happens if you try 8080 instead?

I assume that this is a 2.4GHz network in reality, as ESP8266’s don’t support 5GHz

Naughty!!

Pete.

Hello PeterKnight

So it is connected to 2.5GHz its just the way the my virgin media router is set up
I know the delay is a bit naughty i for got to remove it!!!
Changing to 8080 worked
Many thanks

1 Like

Excellent!

Have you done the port forwarding of port 9443 and set-up a DDNS service and updater so that you can still access your app when not connect d to your home network?

Pete.

Hello

Not yet at the moment I am looking at the diference between local and cloud operation as i was constantly getting App disconnection problems when pushing the Arduino with Fast LED function. but if test goes well i will look in this!

Chris

1 Like