Ftp error on xiaomi router 4

I did everything according to the instructions on the router page. After running the script remote_command_execution_vulnerability.py I enter IP and stok.

start uploading config file...
start exec command...
done! Now you can connect to the router using several options: (user: root, password: root)
* telnet 192.168.31.1
* ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -c 3des-cbc -o UserKnownHostsFile=/dev/null root@192.168.31.1
* ftp: using a program like cyberduck

But when I try to connect anywhere, there is an error everywhere

telnet 192.168.31.1
Connecting To 192.168.31.1...Could not open connection to the host, on port 23: Connect failed
ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -c 3des-cbc -o UserKnownHostsFile=/dev/null root@192.168.31.1
ssh: connect to host 192.168.31.1 port 22: Connection refused

I don't understand what could be the cause of the problem.

You can log out of web ui and let invasion do its job. It needs only password. And do not cut out pieces of output, it king of makes sequence into a jigsaw puzzle.

Precise router model, OEM verion, invasion version - everything matters.