When you send the port command to your server, you are asking the server to connect to you (on the remote network). If the remote network also has a NAT router, and you have not port-forwarded the port you are sending with your PORT command, the server will not be able reach you.
The most common solution would be to send the PASV command to the server instead of the PORT command. The PASV command will ask the server to create a listening socket and accept a connection from the remote machine to establish the data connection.
For the PASV command to work, you will also need to port-forward a range of ports for the passive data connections. The passive connection ports (which need to be forwarded) should be listed in the FileZilla documentation.
Related Posts:
- Connection attempt failed with “ECONNREFUSED – Connection refused by server” [closed]
- Error in FTP connection using domain name, username and password?
- FtpClient storeFile always return False
- How to recursively download a folder via FTP on Linux
- Differences between SFTP and “FTP over SSH”
- How can I view and edit specific aspects of playerdata from my Minecraft server?
- How to download a file via FTP with Python ftplib
- Upload files with FTP using PowerShell
- WordPress plugin install: Could not create directory
- Move WordPress site from Yahoo Small Business
- Using WordPress on 000webhost.com
- What security concerns should I have when setting FS_METHOD to “direct” in wp-config?
- How can I stop WordPress from prompting me to enter FTP information when doing updates?
- wordpress on localhost lamp doesn’t let me install plugins
- Update media library files after upload via FTP
- Why does WordPress require a ftp server to be running on the webserver to transfer plugins?
- Where does wordpress store the FTP credentials?
- WP Asking for FTP Credentials with XAMPP Localhost
- Unable to locate WordPress Plugin directory. ftp_base not working?
- Plugin to edit htaccess file
- WordPress keeps asking for connection information in localhost
- WP Config for FTP credentials
- FTP Username and password wrong while installing theme
- Is there a way to figure out the way to access hosting if I have admin privilege?
- Migrate localhost to server
- Why would WordPress request FTP information when it can write to the file server?
- Upgrading WordPress 4.0 asks for FTP password
- How to upload a media file via FTP and then create an attachment post with it?
- Valid Connection Information is Getting Denied
- WordPress php error after editing file with FileZilla
- Editing page content through FTP?
- Why does One Click Update fail on localhost using FTP with 777 permissions on site files?
- Moving WordPress from host without FTP?
- Images are randomly deleted from server
- WordPress Images Not Showing When FTP
- enable SFTP via SSH keys in wordpress
- Why wordpress cannot write to directory and how to fix it?
- Can I install a new WordPress site inside a sub-directory of an existing WordPress site?
- Restored WordPress on new Server – Can’t auto-update plugins
- How do the pros code up a WordPress theme? Locally? Through FTP?
- Prevent WordPress installing plugins and themes via Admin
- what could cause the htaccess file to be modified?
- Must I download entire WP directory for each separate instance/website that uses WP?
- Install (enable) plugins on multisite, on localhost
- Changing CSS FilePath for All Pages
- Upload files only on FTP
- How to upload a file from WP directory automatically?
- How to Manually Upload Files via FTP
- Files empty after moving with FTP
- Download images from media library to computer in BULK?
- FTP Widget Location
- failed to open stream: Permission denied for WordPress plugin
- Moving wordpress site from localhost to live server using GoDaddy cPanel
- How can I deploy my InstantWP site to a live website?
- Clean installation missing its /wp-content folder
- Using dashboard uploader instead of FTP
- Failed: Filesystem preventing downloads. ( ftpext)
- To perform the requested action, WordPress needs to access your web > server
- FTP + Unable to locate WordPress content directory (wp-content)
- Website does not reflect changes on live after uploading files via FTP
- How I do I host a simple html file through wordpress? (see details) [closed]
- WordPress unable to write files in the server
- FTP or Cpanel installation of WordPress
- Website Got Hacked – Fixed – Now Cannot Activate Theme
- Impossible to index an upload folder with 10k files
- What determines initial file permissions when a WP theme folder is uploaded manually with an FTP client? [closed]
- WordPress FTP via admin panel slow
- FTP not working on a specific WordPress site but working on others (and Filezilla) [closed]
- FTP Connection Information after Installation in Cygwin
- In a local wordpress installation, when I install a plugin it only offers me installation via FTP
- Broken theme, stylesheet is missing after uploading the right theme via FTP
- my wordpress configuration locally vs live server
- How to auto upload image from external source(computer) to webpage
- FTP access to NAS drive files/folders from WordPress site
- woocommerce with external ftp site
- How to move UPLOADS folder in sub-domain which hosted in another server
- FTP connection information + warning lines appearing on the homepage of my campsite?
- Reestablishing Automatic and Secure FTP Connection, Primary Domain Change
- Upload images from one server to an other in wordpress
- WP-admin plugin installation via FTP silently fails on shared hosting
- WordPress Theme/Plugin Install (about FTP Connection)
- CSS updates appear after delay [closed]
- How to display the date a directory folder on ftp was modified
- Changing themes on locally hosted webpages
- Second completely independent and disposable WordPress installation in subdirectory?
- Plugins upload to wordpress in wampserver via filezilla
- Uploading a external squeeze page within WP
- Problems with installing and deleting plugins
- Plugin (smart archives reloaded) crashed site / no access on admin panel
- Do I need FTP set up to upload files to wordpress server
- How to throw the “We need ftp info” at a user
- WordPress still requires FTP information
- Is there any way to ftp into wordpress if I paid for my own domain? I want to set up google analytics
- WordPress not syncing with FTP
- ERROR: Cookies are blocked due to unexpected output – no access to FTP
- Login to wordpress with filezilla client [closed]
- Updating Media Library PDF’s in bulk
- How to use rsync over FTP
- Using wget to recursively download whole FTP directories
- FTP Password (not private key-value pair) for EC2 Instance