How To: Fix FileZilla “Invalid Port Given” Error


When you have a self-hosted WordPress blog, one of the things you need is a reliable FTP client to transfer all your files (themes, plugins, images, etc.) and manually upgrade your WordPress installation.

My FTP client of choice is FileZilla. It’s reliable, easy to use and best of all, it’s FREE. It’s also one of the apps/programs I keep in my USB drive.

Speaking of FileZilla, this post is a short guide to help those who have encountered this error message while trying to set up FileZilla:

Invalid port given. The port has to be a value from 1 to 65535.

filezilla error

To fix this and get rid of the error message, just follow the steps below:

  • Open Site Manager. Press CTRL + S or select File > Site Manager.
  • Select the site you want to edit under My Sites
  • In the General Tab > Host, check if the address is using a colon – ftp:mydomain.com*
  • filezilla error

  • If your configuration is using a colon, replace it with a period.
  • filezilla error

  • If you haven’t entered the other FTP details such as username and password, type it in.
  • Once you have made the changes, click OK

That’s it. Simple as that. Now you can go ahead and use FileZilla to transfer files to and fro your website. Hope this short tutorial helped you fix the “Invalid port given. The port has to be a value from 1 to 65535.” error. If it did, please don’t forget to bookmark or share this post.

Owner and editor of JaypeeOnline. Self-proclaimed geek. New media writer and consultant. WordPress advocate. Loves blogging, gadgets, video games and sports. You can follow him on Google+, Facebook or Twitter.

1 Comment

  1. Mohammad Kashif

    November 4, 2013 at 6:15 AM

    Awsm solution.
    Thanks so much

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">