Need further help? Leave a comment with your router model and the exact error message.

Use the -p flag for SSH or the -P (capital P) flag for SCP/SFTP: ssh -p 2222 username@your-ip scp -P 2222 localfile user@host:/remote/path

In such cases, you must include :2222 in the URL every time.

: Ensure that port 2222 is open in your server's firewall (such as CSF or iptables).