Tcpbinding not correcly work

Good afternoon.
I configured an item for receiving commands tsp control switch, after starting openhab Binding and usually work correctly, immediately after one execution error occurs "Disconnecting the unallowed remote end"
Setting an item:
String TcpServer "Tcp server receive: [%s]" { tcp="<[193.106.92.203:*:'REGEX((.))']"}
Rule:
rule "TcpServer control"
when
Item TcpServer received update
then
if(TcpServer.state==“ON1”) sendCommand(Light_FF_Corridor_Ceiling, ON)
if(TcpServer.state==“OFF1”) sendCommand(Light_FF_Corridor_Ceiling, OFF)
if(TcpServer.state==“ON2”) sendCommand(Light_GF_Kitchen_Ceiling, ON)
if(TcpServer.state==“OFF2”) sendCommand(Light_GF_Kitchen_Ceiling, OFF)
end

First work log:
2016-10-12 17:17:45.731 [INFO ] [t.AbstractSocketChannelBinding] - Received connection request from /193.106.92.203:51062
2016-10-12 17:17:45.732 [INFO ] [t.AbstractSocketChannelBinding] - 193.106.92.203:* is an allowed masked remote end. The channel will now be configured

Last logs (not work):
2016-10-12 17:18:37.807 [INFO ] [t.AbstractSocketChannelBinding] - Received connection request from /193.106.92.203:51084
2016-10-12 17:18:37.807 [INFO ] [t.AbstractSocketChannelBinding] - Disconnecting the unallowed remote end /193.106.92.203:51084
2016-10-12 17:18:49.070 [INFO ] [t.AbstractSocketChannelBinding] - Received connection request from /193.106.92.203:51092
2016-10-12 17:18:49.070 [INFO ] [t.AbstractSocketChannelBinding] - Disconnecting the unallowed remote end /193.106.92.203:51092
2016-10-12 17:21:23.250 [INFO ] [t.AbstractSocketChannelBinding] - Received connection request from /193.106.92.203:51170
2016-10-12 17:21:23.250 [INFO ] [t.AbstractSocketChannelBinding] - Disconnecting the unallowed remote end /193.106.92.203:51170
2016-10-12 17:25:49.747 [INFO ] [t.AbstractSocketChannelBinding] - Received connection request from /193.106.92.203:51290
2016-10-12 17:25:49.748 [INFO ] [t.AbstractSocketChannelBinding] - Disconnecting the unallowed remote end /193.106.92.203:51290

Commands are sent from both the php (stream_socket_client), and simply bash (echo ‘ON1’> /dev/tcp/176.1.1.1/4901)

openhab v1.8.3
How to solve my problem?

Those inbound requests appear to be coming from multiple ports, is that expected?

Yes, it is inbound to Openhab requests on tcp protocol, the port can be any, but the IP is always the same.

'REGEX((.))'

Your expression ought to be

'REGEX((.*))'

but please try an updated 1.9.0-SNAPSHOT JAR that simplifies how you specify that to be just the word default and other improvements.

It is not not solve the problem.
0. stopped Openhab /etc/init.d/openhab stop

  1. Aded to item line
    String TcpServer “Tcp server receive: [% s]” {tcp = “<[193.106.92.203::'REGEX((.)) ']”}
  2. in the /usr/share/openhab/addons copied org.openhab.binding.tcp-1.9.0-SNAPSHOT
  3. Run openhab /etc/init.d/openhab start
  4. Submitted ON1 on port 25001 by tcp
    in the logs:
    2016-10-14 14:42:43.556 [INFO ] [t.AbstractSocketChannelBinding] - Received connection request from /193.106.92.203:48768
    2016-10-14 14:42:43.556 [INFO ] [t.AbstractSocketChannelBinding] - Disconnecting the unallowed remote end /193.106.92.203:48768

tcp my settings:
tcp:port=25001
tcp:timeout=3000
tcp:refreshinterval=250

Other parameters commented.

log on tcp binding:
2016-10-14 14:33:30.191 [DEBUG] [o.o.i.s.i.DiscoveryServiceImpl] - Registering new service _openhab-server-ssl._tcp.local. at port 8443
2016-10-14 14:33:37.560 [DEBUG] [.o.b.tcp.internal.TCPActivator] - TCP/UDP binding has been started.
2016-10-14 14:33:37.627 [INFO ] [t.AbstractSocketChannelBinding] - The maximum buffer will be set to the default value of 1024
2016-10-14 14:33:37.628 [INFO ] [t.AbstractSocketChannelBinding] - The interval to retry connection setups will be set to the default value of 5
2016-10-14 14:33:37.629 [INFO ] [t.AbstractSocketChannelBinding] - The cron job to reset connections will be set to the default value of 0 0 0 * * ?
2016-10-14 14:33:37.630 [INFO ] [t.AbstractSocketChannelBinding] - The setting to queue write operation until a channel gets connected will be set to the default value of true
2016-10-14 14:33:37.631 [INFO ] [t.AbstractSocketChannelBinding] - The setting to share channels within an Item will be set to the default value of true
2016-10-14 14:33:37.635 [INFO ] [t.AbstractSocketChannelBinding] - The setting to share channels between the items with the same direction will be set to the default value of true
2016-10-14 14:33:37.636 [INFO ] [t.AbstractSocketChannelBinding] - The setting to share channels between directions will be set to the default value of true
2016-10-14 14:33:37.642 [INFO ] [t.AbstractSocketChannelBinding] - Listening for incoming connections on /0.0.0.0:25001
2016-10-14 14:33:37.650 [INFO ] [t.protocol.internal.TCPBinding] - The blocking nature of read/write operations will be set to the default value of false
2016-10-14 14:33:37.651 [INFO ] [t.protocol.internal.TCPBinding] - The preamble for all write operations will be set to the default value of ""
2016-10-14 14:33:37.652 [INFO ] [t.protocol.internal.TCPBinding] - The postamble for all write operations will be set to the default value of ""
2016-10-14 14:33:37.655 [INFO ] [t.protocol.internal.TCPBinding] - Updating states with returned values will be set to the default value of true
2016-10-14 14:33:37.658 [INFO ] [.service.AbstractActiveService] - TCP Refresh Service has been started
2016-10-14 14:33:37.661 [INFO ] [t.protocol.internal.TCPBinding] - The characterset will be set to the default value of ASCII

I think some of your detail is being lost when you post here. You could post without this problem by having a line with only three backquotes, a newline with the body of your text, and a line with only three backquotes, like this:

```
text I want to keep literal
```

I also see a space between the % and the s, which is not correct. Hopefully an experienced user of the TCP binding can comment on what might be incorrect in your configuration or an alternate approach.

item settings now look like this:
String TcpServer "Tcp server receive: [%s]" {tcp="<[193.106.92.203:*:'REGEX((.*))']"}
but it did not help:
2016-10-17 14:03:05.964 [INFO ] [t.AbstractSocketChannelBinding] - Received connection request from /193.106.92.203:3002
2016-10-17 14:03:05.965 [INFO ] [t.AbstractSocketChannelBinding] - Disconnecting the unallowed remote end /193.106.92.203:3002
Reinstall the entire openhab?