TCP Echo Server problem

Can you please check you are able to communicate successfully with the echo server just from the command line, rather than your FreeRTOS app. That will check it is not a firewall or anti malware program that is breaking the connection - although in both of those cases I would expect the connection not to be made in the first place. Please also upload the wireshark log so we can see the data on the wire. Thanks.