enc28j60 with arduino nano works, but not with blynk

If I try this code, I can see my server

#include <UIPEthernet.h>

EthernetServer server = EthernetServer(1000);

void setup()
{
_ Serial.begin(9600);_

_ uint8_t mac[6] = {0x00,0x01,0x02,0x03,0x04,0x05};_
_ IPAddress myIP(192,168,1,77);_

_ Ethernet.begin(mac,myIP);_

_ server.begin();_
}

void loop()
{
_ size_t size;_

_ if (EthernetClient client = server.available())_
_ {_
_ while((size = client.available()) > 0)_
_ {_
_ uint8_t* msg = (uint8_t*)malloc(size);_
_ size = client.read(msg,size);_
_ Serial.write(msg,size);_
_ free(msg);_
_ }_
_ client.println(“DATA from Server!”);_
_ client.stop();_
_ }_
}

But if I upload this script

#define BLYNK_PRINT Serial // Comment this out to disable prints and save space
#include <UIPEthernet.h>
#include <BlynkSimpleUIPEthernet.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = “a321e6435e0c4e169fbfe439cdff2f19”;

void setup()
{
_ Serial.begin(9600);_
_ Blynk.begin(auth);_
_ // You can also specify server._
_ // For more options, see BoardsAndShields/Arduino_Ethernet_Manual example_
_ //Blynk.begin(auth, “blynk-cloud.com”, 8442);_
_ Blynk.begin(auth, IPAddress(192,168,1,78), 8888);_
}

void loop()
{
_ Blynk.run();_
}
` I do not see my arduino neither on router, neither I can connect it via blynk app.

Tried with firewall off.

What am I doing wrong?

I also tried to merge both codes into one

#define BLYNK_PRINT Serial // Comment this out to disable prints and save space
#include <UIPEthernet.h>
#include <BlynkSimpleUIPEthernet.h>

EthernetServer server = EthernetServer(1000);

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = “a321e6435e0c4e169fbfe439cdff2f19”;

void setup()
{
_ Serial.begin(9600);_
_ _
_ uint8_t mac[6] = {0x00,0x01,0x02,0x03,0x04,0x05};_
_ IPAddress myIP(192,168,1,77);_

_ Ethernet.begin(mac,myIP);_

_ server.begin();_
_ Blynk.begin(auth);_
_ // You can also specify server._
_ // For more options, see BoardsAndShields/Arduino_Ethernet_Manual example_
_ //Blynk.begin(auth, “blynk-cloud.com”, 8442);_
_ //Blynk.begin(auth, IPAddress(192,168,1,78), 8888);_
}

void loop()
{
_ Blynk.run();_
_ size_t size;_

_ if (EthernetClient client = server.available())_
_ {_
_ while((size = client.available()) > 0)_
_ {_
_ uint8_t* msg = (uint8_t*)malloc(size);_
_ size = client.read(msg,size);_
_ Serial.write(msg,size);_
_ free(msg);_
_ }_
_ client.println(“DATA from Server!”);_
_ client.stop();_
_ }_
}
`
but with new code I can not access even server on my ip.

The last example will not work in any case. I tried it too and you have to use Blynk.config instead of Blynk.begin to configure your auth token and server.

Anyway, the fact that the ENC works says enough about the hardware. It works ok. I see you have Blynk.begin() twice in the sketch for the ENC only. Can you try removing the first one? What does the serial output say?