Solution
This error caused by connecting two different wire types. Even if it didn't show us broken wire here, you must check if wire types are connected correctly in Connection ID especially.
The best way to solve this problem is to debug the code with LabVIEW basic example, 'Simple TCP.proj'.
If the current error occured code is a TCP server, execute with the Client code of example. Try running communications from the same port on the default Localhost first to find problems.