Tcp issues

Hi ,
I am new to openhub .now i am doing the tcp binding i wrote item as below
String TcpClient “Tcp server receive: [%s]” { tcp="<[127.0.0.1:25001:‘REGEX((.*))’]" }

after that i am sending message through nc command. openhab unable to read that message it gives like Received connection request from /127.0.0.1:33371
Disconnecting the unallowed remote end /127.0.0.1:33371.
but I am given the port as 25001.
please help me.

Did you set up a configuration file for tcp?

./services/tcp.cfg

should contain at least one parameter.