Unable to connect to the
ser2net server. I don't even understand why this is happening. The server is running, the ports do not conflict. I connect remotely to the server and through the
localhost via telnet - the error is that there, that there is the same.
Code:
~ # ser2net -v
ser2net version 2.10.1
Starts when loading without errors:
Code:
~ # cat /var/log/messages
Feb 21 05:20:05 amg_clone syslog.info syslogd started: BusyBox v1.20.2
Feb 21 05:20:08 amg_clone auth.info sshd[110]: Server listening on 0.0.0.0 port 22.
Feb 21 05:20:09 amg_clone daemon.notice ser2net[117]: ser2net startup
Everything that is active:
Code:
~ # ss -a
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port
nl UNCONN 0 0 rtnl:kernel *
nl UNCONN 0 0 tcpdiag:kernel *
nl UNCONN 0 0 fiblookup:kernel *
nl UNCONN 0 0 uevent:kernel *
nl UNCONN 0 0 genl:kernel *
u_str ESTAB 0 0 * 1704 * 0
u_dgr ESTAB 0 0 /dev/log 1587 * 0
u_dgr ESTAB 0 0 * 1632 * 0
tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0:*
tcp LISTEN 0 10 0.0.0.0:8888 0.0.0.0:*
tcp LISTEN 0 1 0.0.0.0:3001 0.0.0.0:*
tcp TIME-WAIT 0 0 127.0.0.1:3001 127.0.0.1:34902
tcp ESTAB 0 0 192.168.114.85:22 192.168.101.99:38652
The server is running:
Code:
~ # ps | grep ser2net
122 root 2564 S /usr/sbin/ser2net -c /etc/ser2net.conf -P /run/ser2net.pid
167 root 1348 S grep ser2net
Connection error:
Code:
~ # telnet 127.0.0.1 3001
Error creating port lock file
Connection closed by foreign host
The config is configured on port
3001. With the same settings on another server, everything works. Can you tell me which way to dig? Getting into the
source code is already an extreme measure. I think maybe what other options are worth considering?