Can't connect from outside to FileZilla Server running on Windows Server 2019 VM in Azure.

d1che 1 Reputation point
2021-01-23T22:48:46.587+00:00

I followed this post for installing FileZilla Server on a Windows Server 2019 VM in Azure.
Only thing I didn't do is the last part to publish an FTP site. I disabled Windows Defender in the VM just to be sure.
I also created rules for Inbound and Outbound traffic in the Network Security Group inside Azure. After contacting Support the representative asked me to remove the outbound rules so the rules I have now are as follows:

59861-rules.png

When trying to connect from my own machine I get the following error:

Status:	Connecting to <ip-address>:21...  
Error:	Connection timed out after 20 seconds of inactivity  
Error:	Could not connect to server  

What could I be missing?

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,762 questions
{count} votes

2 answers

Sort by: Most helpful
  1. SaiKishor-MSFT 17,336 Reputation points
    2021-01-25T22:11:23.707+00:00

    @d1che

    Looking at your security rules, I don't see any issues with the same and it should allow you to reach the server. However, I would suggest you to do a wireshark capture on the windows server to see if the connection request from the client reaches the server when you try to connect to it. If it does reach it but the server does not respond to it, you will have to reach out to Filezilla for further assistance regarding this. Hope this helps. Thank you!

    0 comments No comments

  2. Andreas Baumgarten 123.4K Reputation points MVP Volunteer Moderator
    2021-01-25T22:56:21.21+00:00

    Maybe more than one NSG is in the game:
    NSGs could associated with a VM and/or a subnet.
    If you have 2 NSGs, 1 associated with the VM and 1 associated with the subnet the rules in both NSGs must fit.

    You can use the Connection troubleshooting to test the NSG config:

    60441-connectioncheckftp.jpg

    If you have another VM in the same subnet with the "FileZilla VM" you could check if this VM is able to connect to the FTP server. By default the "AllowVnetInbound" rule prio 65000 allows all traffic in the same vNet.

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    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.