Title: FTP default port
Last modified: August 30, 2016

---

# FTP default port

 *  [bachusteam](https://wordpress.org/support/users/bachusteam/)
 * (@bachusteam)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/ftp-default-port/)
 * hi, i have a dedicated server with debian 8 , the dedicated server is installed
   by me and default port for ftp is 22, now when i try to install a backup.zip 
   via wp-clone-by-wp-academy.2.1.8 plugin, i have this error:
 * ERROR: There was an error connecting to the server, Please verify the settings
   are correct.
 * at connection information i tryed:
 * domain.com and domain.com22 and :21
    user: root password: root password connection
   type: both type.

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [Digico Paris](https://wordpress.org/support/users/digico-paris/)
 * (@digico-paris)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/ftp-default-port/#post-6714351)
 * Hello,
 * Well, by default any FTP server uses port 21, not 22.
 * Depends your FTP client, and your host grants. If you are setup for 22, try to
   setup your FTP client to use port 21 too.
 * Also, now most FTP clients (like mine) use SFTP, so you’ll probably need to use
   a keyphrase or so.
 * Hope it helps,
 *  Thread Starter [bachusteam](https://wordpress.org/support/users/bachusteam/)
 * (@bachusteam)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/ftp-default-port/#post-6714353)
 * hi and ty for reply, i have my own dedicate server at home with debian 8, and
   after debian is installed ssh and ftp are on default port 22.
 * i use filezila for ftp client, and all is ok on port 22, but i need to install
   automated directly form wordpress dasboard that backup.
 * when i try this way i have that error, i think wordpress is on port 21, right?
 * what i need to make in this case?
 *  [Digico Paris](https://wordpress.org/support/users/digico-paris/)
 * (@digico-paris)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/ftp-default-port/#post-6714354)
 * MMM, not Debian expert bachusteam, can you try to connect like this:
 * sftp://root@domain.com:22
 * or
 * sftp://root@domain.com:21
 * What does it give you?
 *  Thread Starter [bachusteam](https://wordpress.org/support/users/bachusteam/)
 * (@bachusteam)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/ftp-default-port/#post-6714355)
 * where to put that adress? in filezila or in wordpress dasboard?
 *  [Digico Paris](https://wordpress.org/support/users/digico-paris/)
 * (@digico-paris)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/ftp-default-port/#post-6714357)
 * I also use Filezilla, but I prefer WinSCP for complex logins like that.
 *  [Digico Paris](https://wordpress.org/support/users/digico-paris/)
 * (@digico-paris)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/ftp-default-port/#post-6714358)
 * Well, just asking if it gives you errors maybe? (I have a few Ubuntu servers)
 *  Thread Starter [bachusteam](https://wordpress.org/support/users/bachusteam/)
 * (@bachusteam)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/ftp-default-port/#post-6714359)
 * hi, ty again,but in filezila is all ok, i mean i can con nect and edit file tc,
   but what i need is to use ftp from wordpress dasboard. becaus i need to install
   the backup made by that plugin.
 * on this dedicat i don’t have cpannel
    i tryed your exemple with my domain name
   an the same problem.
 *  [Digico Paris](https://wordpress.org/support/users/digico-paris/)
 * (@digico-paris)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/ftp-default-port/#post-6714360)
 * OK, I understand now.
 * FTP from WordPress is at best clumsy, I mean you can’t move files directly from
   admin panel, or plugin is **just a bad joke**.
 * FTP or manual is the way, really.
 * Have a nice day,
 *  Thread Starter [bachusteam](https://wordpress.org/support/users/bachusteam/)
 * (@bachusteam)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/ftp-default-port/#post-6714362)
 * i tried this but i have error with mysql table prefix, for that i need that ftp.
   because that plugin will install good the backup.
 *  [Digico Paris](https://wordpress.org/support/users/digico-paris/)
 * (@digico-paris)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/ftp-default-port/#post-6714369)
 * Default prefix is:
 * `wp_`
 * This is defined in wp-config.php file in full root of your server.
    If you defined“
   wp-“, it changes all database.
 * Check that file, or rewrite database file (aka, wordpress.sql) with REGEX. It’s
   quite easy to do.
 * Hope it helps,
 *  Thread Starter [bachusteam](https://wordpress.org/support/users/bachusteam/)
 * (@bachusteam)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/ftp-default-port/#post-6714371)
 * i recieve this error when i try to import data base.sql
 * ERROR 1051 (42S02) at line 1: Unknown table ‘2173_bp_activity’

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘FTP default port’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 11 replies
 * 2 participants
 * Last reply from: [bachusteam](https://wordpress.org/support/users/bachusteam/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/ftp-default-port/#post-6714371)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
