I have problem with connection to remote server via SFTP from my MacOS, tested in FileZilla. Terminal SSH connection with same user&name (or key) works correctly.
open "user@server_ip
server_ip" 2222
Error: Can't connect to remote server
User&password are okay, my IP address and ISP are okay (tested on another machine with same local IP address).
On server there is no attempt to login from my machine, so it fails somewhere before remote server. How to test where is the problem?
I've found How to detect if a network is blocking outgoing ports?, command
time nmap -p 2222 portquiz.net
returns me
PORT STATE SERVICE
2222/tcp open EtherNetIP-1
Nmap done: 1 IP address (1 host up) scanned in 0.23 seconds
nmap -p 2222 portquiz.net 0,15s user 0,02s system 62% cpu 0,267 total
How to solve that? What to try now?
Thanks.