2 SoftwareSerial ports do not work

Hello!
I am wondering why this code does not work on nano.

#include <SoftwareSerial.h>

SoftwareSerial alma(2,3);
SoftwareSerial korte(10,11);

void setup() {
  // put your setup code here, to run once:
  alma.begin(9600);
  korte.begin(9600);
  Serial.begin(9600);
}

void loop() {
  // put your main code here, to run repeatedly:
  korte.listen();
  if (korte.available()) 
  {
    Serial.print("AVAILABLE: ");
    Serial.print(korte.read());
  }
  else
  {
    Serial.println("NOT AVAILABLE");
  }

  delay(1000);
  alma.write('P');
  korte.listen();
}

PIN 10 is connected to PIN 3.
The output on the native serial is just NOT AVAILABLE lines.

What can be the problem?

Thanks.

In general two instances of Software Serial don't work - they get in each other's way.

You may get away with using SoftwareSerial alongside my Yet Another Software Serial, but I have not tried and I would not be surprised if it does not work either.

You may want to try using a Mega with 3 spare HardwareSerial ports - altogether a better solution.

...R

Thank you! I was planning to use 2 software serials only for debug purposes. I don’t have the device with me which is going to be connected to the nano, and my idea was to simulate this device by another softwareserial on the same nano.
Thanks for clarifying!