Website Information:
Protocol : SFTP
Server : Google Cloud
Wordpress Version : 4.9.8
I am trying to update my WordPress plugins but every time I try to do it, it always asks me for my FTP information but when I supplied my FTP information it returns an error 'Failed to connect to FTP Server.'
I even tried to add Port number '21' and '22' on the hostname but it still doesn't work. I even tried using 'FTPS (SSL)' Connection type but it didn't work either. I've also used the plugin 'SSH SFTP Updater Support' but it leaves my website under maintenance and I can't access it anymore.
I've spent 2 days resolving this problem. Hope that someone can help me with this.
Thank you in advance :)