I can connect to my server from my computer by ssh. I have internet connection. Everything works perfectly, but I can't connect to my server by ssh.
please check the screenshot for more information.
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
It's clearly says that your server is configured to listen on port 1337 instead of standard 22.
You should specify the port on your client side:
ssh 126.96.36.199 -p 1337
OR edit /etc/ssh/sshd_config file and restart sshd service.
I checked the port and it's listening fine:
telnet 188.8.131.52 1337 Trying 184.108.40.206... Connected to 220.127.116.11. Escape character is '^]'. SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3