PORT 22 BLOCKED

HODIJ COATINGS BV 20 Reputation points
2024-09-06T10:31:10.1833333+00:00

Hello,

since 6-9-24 i cant connect an sftp site from my windows azure windows 2016 server anymore. it is using port 22 and it always worked fine using filezilla. i disabled the firewall on the windows vm but that didnt help. what to do?

Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
703 questions
Azure VMware Solution
Azure VMware Solution
An Azure service that runs native VMware workloads on Azure.
367 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,548 questions
0 comments No comments
{count} votes

Accepted answer
  1. KapilAnanth-MSFT 48,081 Reputation points Microsoft Employee
    2024-09-09T06:58:28.47+00:00

    @HODIJ COATINGS BV ,

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    Can you please elaborate your environment?

    • From your verbatim, you are using an Azure VM to connect to third party external site on Port 22 (SFTP)
    • Is this correct?
    • In that case, it is possible that the destination server is blocking your access
      • Either via Network (your IP) or via Authentication (credentials)
    • Did you reach out to the SFTP Site provider and check if the packets are arriving or not?
    • May I ask how you are confirming this is a Port blocked/networking issue from Azure end and not the destination.

    By default, Azure NSGs don't block outbound access on Port 22 - so you should be able to connect.

    • Do you have Azure Firewall deployed?
    • From this VM, open Powershell as admin and run
      • Test-NetConnection -ComputerName "<YOURSFTPServer>" -Port 22
    • From a regular server (your local laptop), open Powershell as admin and run
      • Test-NetConnection -ComputerName "<YOURSFTPServer>" -Port 22
    • And share the results of both please.

    Cheers,

    Kapil

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.