Tags allocated in Arduino Server with SD card and other arduino with GET

Hello everyone

I am in a project to perform an access control. This project will work with two mega arduinos + w5100 + rdm6300.

The idea would be to make one of the arduino as the primary server, with the authorization data allocated in a .txt file in the root of the SD card that exists in the ethernet shield.

The other arduino would only search for the authorized tag in the existing relationship in the .txt file allocated on the other arduino, the server.

I managed to make everything work, except the part of the secondary arduino. Theoretically, it would just be a basic GET command to get the .txt, but I get a warning that the connection failed. Can someone help?

SERVER

#include <SPI.h>
#include <Ethernet.h>
#include <SD.h>
#include <SoftwareSerial.h>
#include <RDM6300.h>

SoftwareSerial RFID(68, 67); // RX and TX

EthernetServer * server;

boolean iniciar_sd_card() {
  pinMode(10, OUTPUT);
  digitalWrite(10, HIGH);

  if (!SD.begin(PIN_SD_CARD)) { return false; 
  }else{

    //CHECK QUANTOS AERONAVEGANTES CADASTRADOS
    FileANV = SD.open("ANV.txt");
    if (FileANV) {
      while (FileANV.available()) {
        for (x; FileANV.read() == 13; x++) {
          delay(10);
        }
      }
    }
    else {
      Serial.println("Falha ao abrir banco de dados");
    }
    Serial.print(x-1);
    Serial.println(" usuarios cadastrados: ");
    FileANV.close();

    //CHECK QUANTOS MATERIAIS CADASTRADOS
    FileMAT = SD.open("MAT.txt");
    if (FileMAT) {
      while (FileMAT.available()) {
        for (y; FileMAT.read() == 13; y++) {
          delay(10);
        }
      }
    }
    else {
      Serial.println("Falha ao abrir banco de dados");
    }
    Serial.print(y-1);
    Serial.println(" materiais cadastrados: ");
    FileMAT.close();
    !SD.begin(4);
  } 
 return true;
}


void iniciar_ethernet_02(){
  byte ip[4]      = {10,108,19,213};     //Casa: 192,168,0,12 //ALA9: 10,108,19,213
  byte mac[6]     = {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED};
  int  porta      = 80;
 
  server = new EthernetServer(porta);
 
  Ethernet.begin(mac, ip);
  server->begin();
}


void iniciar_ethernet() {         

  iniciar_ethernet_02();  
}


void setup() {

  Serial.begin(9600);
  SPI.begin(); //inicializa a comunicação SPI
  iniciar_sd_card();
  iniciar_ethernet();
  Serial.println(Ethernet.localIP());
  

}

ARDUINO WITH GET COMMAND

#include <SPI.h>
#include <Ethernet.h>
#include <SD.h>
#include <SoftwareSerial.h>
#include <RDM6300.h>

SoftwareSerial RFID(68, 67); // RX and TX

int Led=13;
uint8_t Payload[6]; // used for read comparisons

RDM6300 RDM6300(Payload);

EthernetServer * server;

void iniciar_ethernet_02(){
  byte ip[4]      = {10,108,19,214}; 
  byte mac[6]     = {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED};
  int  porta      = 80;
 
  server = new EthernetServer(porta);
 
  Ethernet.begin(mac, ip);
  server->begin();
}

void iniciar_ethernet() { 
  iniciar_ethernet_02();  
}


char server2[] = "10.108.19.213";
EthernetClient client2;
String leitura; // STRING DE RETORNO DO SERVIDOR 
String nome_aeronavegante = ""; 


void setup() {

  Serial.begin(9600);
  SPI.begin(); //inicializa a comunicação SPI
  iniciar_sd_card();
  iniciar_ethernet();
  Serial.println(Ethernet.localIP());
  
  //RFID
  pinMode(Led, OUTPUT);
  RFID.begin(9600);    // start serial to RFID reader

}

void loop() { 
while (RFID.available() > 0){
    uint8_t c = RFID.read();
    
        if (RDM6300.decode(c)){
           File LOG = SD.open("LOG.txt", FILE_WRITE);
           if (LOG){
            chamada();
           }
}


void chamada(){

      if (client2.connect(server2, 80)) {
        Serial.println("Conectando...");
        client2.print("GET /ANV.txt");
        client2.println(" HTTP/1.0");
        client2.println("Host: 10.108.19.213");
        client2.println("Connection: close");
        client2.println();
      }
      else {
    
        Serial.println("Conexão falhou");
        Serial.println("Desconectando");
        Serial.println();
      }

      while (client2.available()) {
        char c = client2.read();
        readString += c;
      }
      if (!client2.connected()) {
        Serial.println("terminada leitura.");
        client2.stop();
      }

}

the text file with the permissions is quite simple

20030090;TC MARQUES
1593578;MJ FABRICIO
00088;TESTE
5815646
;1T NETO
1914318507;CARTAO ERRADO
*******FIM********

With the GET command I just need to receive the information from within the txt on the client. And it worked when the server was running on the computer through XAMPP. but when I put the server on arduino I could not.