SFTP not working

OS Name/Version:Ubuntu 20.04.3 LTS / Windows 10

Product Name/Version: AMP Release “Triton” v2.3.3.4

Problem Description: Cannot connect with SFTP to server from desktop on the same network. It used to work but all of the sudden is not working.

Steps to reproduce:

  • Step 1: Go to connect to SFTP page on amp application management
  • Step 2: Enter listed information and password into WinSCP and set to SFTP
  • Step 3: Get “Network error: Connection to “…” refused.”

Actions taken to resolve so far:
-Follow the old SFTP setup wiki page to make sure it is enabled in the files
-Created Inbound and outbound laws in windows firewall(No other firewalls installed)
-Opened port on the router(I am on the same network so I don’t think this matters)
-Try FileZilla
-Read other forum posts
-Just tried using built-in file transfer, but the speed is around 6 KB/S
-Use remote desktop from windows PC to try and find the location of Minecraft folder on ubuntu so I can just download them directly onto server, but unable to locate

If you have 2FA you need to append the code to the end of the password.