Page 1 of 1

Could not connect to server but i cant find anything wrong

Posted: 2022-05-15 11:37
by MrJumpscare
when i try to connect to my remote server with the filezilla client i get the could not connect to server error. All the firewalls are set up properly and i dont know what else could be the problem. Im using canonical ubuntu 20.04 with putty and have installed ssh on there. if i got to ftptest.net i get this error:
Warning: Selected port (22) is not the default port (21) of the selected protocol.

Status: Resolving address of <my ip>

Status: Connecting to <my ip>

Warning: The entered address does not resolve to an IPv6 address.

Status: Connected, waiting for welcome message...

Reply: SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.5

Error: Reply does not contain valid response code

Results

Error: Reply does not contain valid response code

The replies sent by your server are violating the FTP specifications.
You have to upgrade to a proper server.

Re: Could not connect to server but i cant find anything wrong

Posted: 2022-05-15 12:20
by boco
The ftptest.net site is primarily meant for FileZilla FTP Server. It cannot test SFTP servers, which is what you're attempting to do.

Re: Could not connect to server but i cant find anything wrong

Posted: 2022-05-15 12:31
by MrJumpscare
boco wrote:
2022-05-15 12:20
The ftptest.net site is primarily meant for FileZilla FTP Server. It cannot test SFTP servers, which is what you're attempting to do.
Thanks a lot i didnt know that. The issue still persists on filezilla however, are there any more ways i can find out what is causing the could not connect to server error?

Re: Could not connect to server but i cant find anything wrong

Posted: 2022-05-15 13:09
by boco
When you set up the firewalls, did you do it only for the main executable process? SFTP is handled by fzsftp, a different executable.