Can't connect using Filezilla SFTP-SSH but its working with putty ,Firewall also not running what is the issue

Deepika Sunil 5 Reputation points
2024-03-01T06:00:46.94+00:00

When using Filezilla I cannot connect using SFTP-SSH, but I can connect to that same server with Filezilla using FTP. I can connect to this same server via SFTP-SSH on my stagWSA04 machine.
i got following error in Filezilla

Error: Connection timed out after 20 seconds of inactivity

Error: Could not connect to server

What am I missing here? kindly help us

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,044 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,465 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Jackson Martins 10,606 Reputation points MVP Volunteer Moderator
    2024-03-01T12:49:50.08+00:00

    Hi @Deepika Sunil

    SFTP uses port 22 by default and FTP uses port 21 by default
    Ensure your local firewall or antivirus is not blocking Filezilla's SFTP connections. You may need to add an exception for Filezilla or for the specific ports it uses (default SFTP port is 22).

    Adjust your Network Security Group (NSG) rules to allow SFTP-SSH connections, you need to ensure there's an inbound rule allowing traffic on port 22 (or whatever custom port your SSH server is using)

    Get in touch if you need more help with this issue.

    --please don't forget to "[Accept the answer]" if the reply is helpful--

    1 person found this answer helpful.
    0 comments No comments

  2. Prrudram-MSFT 28,286 Reputation points Microsoft Employee Moderator
    2024-03-01T13:25:38.11+00:00

    @Deepika Sunil

    The error message you are seeing in FileZilla indicates that the connection to the server is timing out after 20 seconds of inactivity. This could be due to a number of reasons, such as network connectivity issues, firewall settings, or incorrect configuration settings.

    Here are a few things you can try to troubleshoot the issue:

    Check your network connectivity: Ensure that your network connection is stable and that there are no issues with your internet service provider. You can use tools like ping or traceroute to test the connectivity.

    Check your firewall settings: Ensure that your firewall is not blocking the SFTP-SSH traffic. You may need to add a rule to allow SFTP-SSH traffic through your firewall as suggested by Jackson Martins

    Check your configuration settings: Ensure that your SFTP-SSH configuration settings are correct. This includes settings such as the server address, port number, and authentication method.

    Try using a different SFTP-SSH client: If you are still unable to connect using FileZilla, try using a different SFTP-SSH client to see if the issue is specific to FileZilla.

    I hope this helps you troubleshoot the issue. If you have any further questions or need more information, please let me know.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.