Using WinSCP on Windows 10 in Azure

Carl Valcke 21 Reputation points
2021-03-04T18:09:32.137+00:00

Hello! I would need some advice as I am new to Azure... We have a VM running Linux and a VM running Windows 10. The Linux VM is hosting our e-commerce website and also an ftp server so that our suppliers can drop inventory and catalog files. The W10 VM is running our Access Database to handle the data and format it to feed our website. I use to run the Windows 10 on a laptop and everything was working fine. Since i have setup the W10 in Azure and having the exact same setup, my WinSCP is not able to connect to the Linux machine as it is using the Private IP. When trying to connect it tells me it won't open a connection to the Private IP but only to the Public IP. But won't connect. I have been adding the firewall port and port rules (inbound and outbound) but it doesn't seem to change anything.... I am stuck in my problem Any ideas what can cause this?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,127 questions
{count} votes

Accepted answer
  1. TravisCragg-MSFT 5,676 Reputation points Microsoft Employee
    2021-03-10T00:18:51.66+00:00

    @Carl Valcke I do not believe there is an existing restriction with WinSCP in Azure, Here is a guide for WinSCP to a Linux VM in Azure.

    If you are trying to connect to your Linux VM via your on-premise machine via WinSCP, you will need to make sure that Port 21 is open, and that you are connecting via the Public IP. The Private IP is only accessible if you are on the same network, typically via a P2S or S2S VPN.

    Please let me know if you have any additional questions.


0 additional answers

Sort by: Most helpful