while(client.available() == 0) delay(500);
While there is no client connect, bury your head in the sand for 1/2 a second. It would make more sense, to me, to spend that time seeing if the telnet server had anything to say.
IPAddress server(10, 0, 0, 89);
IPAddress server2(10,0,0,50); //the actual value matches my telnet server
EthernetClient client2;
EthernetClient client;
Is that the way you count? Uh-huh, two, three? Most people count one, two, three...
Serial.println("connectedddddd");
Doessssss thissssss reallyyyyyyy conveyyyyyy moreeeeee informationnnnnn?
if (txt == 1) {
Why would anyone expect a variable named txt to contain numeric data?