RX doesn't work on ESP8266-E12 AI

Like Robin2 suggested, "Serial Input Basics" is a good place to start.

The problem is that you are trying to print 24 characters for each character you receive. And you are trying to print two new lines (4 more characters) every time loop is called. loop is called many, many times.

After just 16 calls to loop, the output buffer for Serial will be full. This could happen before any characters have been received on portTwo. Then, when you try to print one character from portTwo, it will have to wait for the 24 characters of "Data from port two:\r\n" to be printed. During that time, 24 more characters may have been received on portTwo. Eventually, the input buffer for portTwo will be full, and all other received characters will be dropped (ignored).

Have you tried a simple echo test?

void loop() {
  while (portTwo.available() > 0) {
    Serial.println( portTwo.read() );
  }
}

Cheers,
/dev