If I try to connect to my server via any console, etc.:
➤ ssh -vv xx.xx.xxx.xx:1337
OpenSSH_7.1p2, OpenSSL 1.0.1g 7 Apr 2014
debug1: Reading configuration data /etc/ssh_config
_ssh: Could not resolve hostname xx.xx.xxx.xx:1337: Name or service not known
Obviously something is not working.
Good thing is that I can connect to it via browser with Web Console (provided by Vultr). And if I type same thing on web console ssh root@xx.xx.xxx.xx -p 1337 it logs me in.
I stopped UFW firewall and reset my iptables. Ports look OK.
Why I can't login to my server via consoles?
update: Apparently the local environment I was using to connect was blocking ssh, after unblocking it and running ssh -p 1337 root@xx.xx.xxx.xx I get this:
ssh_exchange_identification: read: Connection reset by peer

ssh xx.xx.xxx.xx -p 1337? In some places,:is no longer allowed to specifiy the port, so you have to use-p(e.g. in the mysql client), and in my tries, I also could not connect to my servers adding the port via :. – David Georg Reichelt Apr 11 '17 at 9:42