Unable to connect to server using remote-ftp package


When I try connecting to my Debian 7 VPS using remote-ftp, I get an ECONNREFUSED error. The package had been working correctly until a few days ago, but then it stopped working out of nowhere. I also tried using notepad++'s nppftp, which also used to work, but to no avail. I can connect via SFTP using FileZilla.


Managed to solve the problem by editing the configuration file this way:

    "protocol": "sftp",
    "host": "mydomain",
    "port": 22,
    "user": "myuser",
    "promptForPass": true,
    "remote": "/",
    "local": "",
    "secure": true,
    "secureOptions": null,
    "connTimeout": 10000,
    "pasvTimeout": 10000,
    "keepalive": 10000,
    "watch": [],
    "watchTimeout": 500