FTP - Knowledge Base Archives - Hivelocity Hosting https://www.hivelocity.net/kb/tag/ftp/ Dedicated Servers, Private Cloud & Colocation Wed, 06 Dec 2023 20:00:12 +0000 en-US hourly 1 https://wordpress.org/?v=6.6 How to Resolve Error 421 Service Not Available and Other Issues with FTP Service https://www.hivelocity.net/kb/how-to-resolve-421-service-not-available-and-other-issues-with-ftp-service/ Tue, 09 Apr 2019 19:40:43 +0000 https://www.hivelocity.net/?post_type=hv_knowledgebase&p=11877 Resolving FTP 421 Error Author: PhilS What are the steps to resolve the error ‘421 service not available’ in case of ftp? Hello, in this article we’ll cover several possible steps and solutions for resolving an error “421 service not available” when attempting to connect to your server via FTP. This article may also be …

How to Resolve Error 421 Service Not Available and Other Issues with FTP Service Read More »

The post How to Resolve Error 421 Service Not Available and Other Issues with FTP Service appeared first on Hivelocity Hosting.

]]>
Resolving FTP 421 Error

Author: PhilS

What are the steps to resolve the error ‘421 service not available’ in case of ftp?


Hello, in this article we’ll cover several possible steps and solutions for resolving an error “421 service not available” when attempting to connect to your server via FTP. This article may also be helpful if you are finding other similar problems or issues when attempting to establish a successful connection while using your FTP client from your local workstation.

This article applies to systems running CentOS or linux distributions.

 

Step 1) Rule Out DNS Issue

If you are attempting to connect with your server hostname or domain, it is worth ruling out a possible DNS or resolution issue. To accomplish this, the easiest way is to simply use your server’s IP address instead of the hostname or domain.

Below are two examples of how this may look in your FTP Client. If you are unfamiliar with FTP, we recommend installing/using FileZilla. Best of all, it’s free! You can download the latest version through FileZilla’s official website.

Filezilla connection configuration settings screen showing entered hostname Filezilla connection configuration settings screen showing entered IP address

 

Step 2) Try SFTP

If you are still finding an issue when attempting to connect with your IP directly, we would recommend trying SFTP protocol and changing the connecting port to match your servers SSH port. By default this can be 22 but on many systems this can be different in order to enhance security and prevent common brute force attempts. If you want to connect to your server with root user and not a secondary or FTP user, some systems require the use of SFTP – this is a more secure protocol and we recommend consider using SFTP whenever possible for best practice.

Filezilla connection configuration settings screen showing SFTP with IP address

If you wish to learn more about further enhancing system security, check out some of our other enhancements we offer, including DDOS protection.

 

Step 3) Server Blocking or Service Configuration

If you find this issue with SFTP as well, this could be the result of firewall rules of the system or perhaps a system misconfiguration causing you to not be able to connect properly.

a) cPanel Systems

For other distributions, see b) Other Linux Distributions

If you are running a cPanel system, there are two likely places you would need to allow your IP address in order to allow yourself access to the system. Allowing your IP can be done from within your WHM panel.

First, gather your workstation IP using our free IP address checking tool. This is what you will use to replace “YourIPAddress” in the items below.

Sample image of the Hivelocity IP address checking tool

Next, you’ll need to access your WHM panel. This can be done in one of two ways:

WHM | https://YourServerIPAddressHere:2087 (ignore security warning and proceed)
or
WHM | https://YourServerHostname:2087

Once in your WHM panel, you’ll want to allow your IP in both of the following locations:

WHM -> ConfigServer Security & Firewall -> Quick allow
WHM -> CPhulkd -> Whitelist

WHM panel showing search term "firewall", ConfigServer Security Plugin, Quick Allow, and allowed IP address entered

WHM panel showing search term "cphulk", cPHulk Brute Force Protection, Whitelist Management tab, and IP address entered under "New Whitelist Records"

If you prefer to allow from SSH or Terminal instead of within WHM, you can perform the commands below to allow:

$ csf -a YourIPAddress
$ /scripts/cphulkdwhitelist YourIPAddress

WHM panel showing the search term "Terminal", with $ csf -a YourIPAddress $ /scripts/cphulkdwhitelist YourIPAddress commands entered

b) Other Linux Distributions

Other linux systems or installations may use other firewalls. For example, Ubuntu may be running ufw while other non-panel Redhat or Centos may be using iptables or firewalld. It’s recommended to attempt to temporarily stop these or attempt to whitelist/allow

 

Step 4) Issue a Support Ticket

If you have exhausted your efforts or would like some assistance checking/replicating the issue further, if possible, please reach out to us from your my.hivelocity.net account -> Support and provide your server credentials within the Encrypted field for best possible security and support.

If you are unable to reach your my.hivelocity.net account or if you are on the go, please email us from your valid my.hivelocity.net account email to us here: support@hivelocity.net

We are also available to you through our phone and live chat systems 24x7x365


If you thought that was helpful, check out this article on How to mount your cloud storage drive on your CentOS, RHEL or Fedora systems from our Impressive Support staff

 

Popular Links

Looking for more information on FTP? Search our Knowledge Base!

Interested in more articles about Web Hosting? Navigate to our Categories page using the bar on the left or check out these popular articles:

Popular tags within this category include: DNS, FTP, IIS, MX Records, and more.

Don’t see what you’re looking for? Use the search bar at the top to search our entire Knowledge Base.

 

The Hivelocity Difference

Seeking a better Dedicated Server solution? In the market for Private Cloud or Colocation services? Check out Hivelocity’s extensive list of products for great deals and offers.

With best-in-class customer service, affordable pricing, a wide-range of fully-customizable options, and a network like no other, Hivelocity is the hosting solution you’ve been waiting for.

Unsure which of our services is best for your particular needs? Call or live chat with one of our sales agents today and see the difference Hivelocity can make for you.

The post How to Resolve Error 421 Service Not Available and Other Issues with FTP Service appeared first on Hivelocity Hosting.

]]>
How to Check if the Default FTP Port 21 is Blocked https://www.hivelocity.net/kb/how-to-check-if-the-default-ftp-port-21-is-blocked/ https://www.hivelocity.net/kb/how-to-check-if-the-default-ftp-port-21-is-blocked/#respond Wed, 30 Jan 2013 14:14:41 +0000 https://kb.hivelocity.net/?p=11073 What is FTP Port 21? FTP, or File Transfer Protocol, is a means of transferring data online directly from one server to another. Typically requiring a username and password, it can be used through your web browser or a dedicated FTP client. In order for FTP to work, it requires access to ports used in …

How to Check if the Default FTP Port 21 is Blocked Read More »

The post How to Check if the Default FTP Port 21 is Blocked appeared first on Hivelocity Hosting.

]]>
What is FTP Port 21?

FTP, or File Transfer Protocol, is a means of transferring data online directly from one server to another. Typically requiring a username and password, it can be used through your web browser or a dedicated FTP client. In order for FTP to work, it requires access to ports used in the transfer process. While these ports can be changed, they default to port 20 and port 21.

At times though, these ports can be blocked, often due to a security permissions issue within your firewall settings.

But how can you check if you FTP Port 21 is being blocked?

 

Checking FTP Port 21

The process for checking if your port 21 is being blocked is very easy. To begin, open your favorite terminal emulator and run the below command to telnet your site

telnet yourdomainname.com 21

OR

telnet 123.456.789.86 21

*Note: You must replace yourdomainname.com with your actual domain name or with your website/server’s IP Address. In addition, you can check the status of other ports by replacing the “21” at the end of the command with a different port number.

After entering the command, if you see the message “could not open connection to the host, on port 21: connect failed“, then this is showing that the port is being blocked. It might be getting blocked by your ISP (internet service provider), or it could be an issue with your security settings. If the issue is related to your security permissions, you’ll just need to make sure you allow port 21 access.

 

Popular Links

Looking for more information on FTP? Search our Knowledge Base!

Interested in more articles about Web Hosting? Navigate to our Categories page using the bar on the left or check out these popular articles:

Popular tags within this category include: DNS, FTP, IIS, MX Records, and more.

Don’t see what you’re looking for? Use the search bar at the top to search our entire Knowledge Base.

 

The Hivelocity Difference

Seeking a better Dedicated Server solution? In the market for Private Cloud or Colocation services? Check out Hivelocity’s extensive list of products for great deals and offers.

With best-in-class customer service, affordable pricing, a wide-range of fully-customizable options, and a network like no other, Hivelocity is the hosting solution you’ve been waiting for.

Unsure which of our services is best for your particular needs? Call or live chat with one of our sales agents today and see the difference Hivelocity can make for you.

The post How to Check if the Default FTP Port 21 is Blocked appeared first on Hivelocity Hosting.

]]>
https://www.hivelocity.net/kb/how-to-check-if-the-default-ftp-port-21-is-blocked/feed/ 0
Creating FTP Accounts in Hsphere https://www.hivelocity.net/kb/creating-ftp-accounts-hsphere/ https://www.hivelocity.net/kb/creating-ftp-accounts-hsphere/#respond Sun, 05 Dec 2010 06:33:49 +0000 https://kb.hivelocity.net/?p=3112 Watch this tutorial to learn how to create FTP accounts in Hsphere.

The post Creating FTP Accounts in Hsphere appeared first on Hivelocity Hosting.

]]>
Watch this tutorial to learn how to create FTP accounts in Hsphere.

The post Creating FTP Accounts in Hsphere appeared first on Hivelocity Hosting.

]]>
https://www.hivelocity.net/kb/creating-ftp-accounts-hsphere/feed/ 0
Changing Your Control Panel & FTP Password in Hsphere https://www.hivelocity.net/kb/change-your-control-panel-and-ftp-password-hsphere/ https://www.hivelocity.net/kb/change-your-control-panel-and-ftp-password-hsphere/#respond Sun, 05 Dec 2010 06:09:32 +0000 https://kb.hivelocity.net/?p=3090 Watch this tutorial to learn how to change your control panel and FTP password in Hsphere.

The post Changing Your Control Panel & FTP Password in Hsphere appeared first on Hivelocity Hosting.

]]>
Watch this tutorial to learn how to change your control panel and FTP password in Hsphere.

The post Changing Your Control Panel & FTP Password in Hsphere appeared first on Hivelocity Hosting.

]]>
https://www.hivelocity.net/kb/change-your-control-panel-and-ftp-password-hsphere/feed/ 0
Publishing Your Site via FTP in FrontPage 2003 https://www.hivelocity.net/kb/publish-your-site-via-ftp-in-frontpage-2003/ https://www.hivelocity.net/kb/publish-your-site-via-ftp-in-frontpage-2003/#respond Sun, 05 Dec 2010 05:26:57 +0000 https://kb.hivelocity.net/?p=3064 Watch this tutorial to learn how to publish your site via FTP in FrontPage 2003.

The post Publishing Your Site via FTP in FrontPage 2003 appeared first on Hivelocity Hosting.

]]>
Watch this tutorial to learn how to publish your site via FTP in FrontPage 2003.

The post Publishing Your Site via FTP in FrontPage 2003 appeared first on Hivelocity Hosting.

]]>
https://www.hivelocity.net/kb/publish-your-site-via-ftp-in-frontpage-2003/feed/ 0
FTPing Your Files in Dreamweaver MX https://www.hivelocity.net/kb/ftping-your-file-in-dreamweaver-mx/ https://www.hivelocity.net/kb/ftping-your-file-in-dreamweaver-mx/#respond Sun, 05 Dec 2010 04:49:55 +0000 https://kb.hivelocity.net/?p=3024 Watch this tutorial to learn how to FTP your files in Dreamweaver MX.

The post FTPing Your Files in Dreamweaver MX appeared first on Hivelocity Hosting.

]]>
Watch this tutorial to learn how to FTP your files in Dreamweaver MX.

The post FTPing Your Files in Dreamweaver MX appeared first on Hivelocity Hosting.

]]>
https://www.hivelocity.net/kb/ftping-your-file-in-dreamweaver-mx/feed/ 0
Creating an FTP Account in DirectAdmin https://www.hivelocity.net/kb/creating-an-ftp-account-in-directadmin/ https://www.hivelocity.net/kb/creating-an-ftp-account-in-directadmin/#respond Sat, 04 Dec 2010 10:28:44 +0000 https://kb.hivelocity.net/?p=2905 Watch this tutorial to learn how to create an FTP account in DirectAdmin.

The post Creating an FTP Account in DirectAdmin appeared first on Hivelocity Hosting.

]]>
Watch this tutorial to learn how to create an FTP account in DirectAdmin.

The post Creating an FTP Account in DirectAdmin appeared first on Hivelocity Hosting.

]]>
https://www.hivelocity.net/kb/creating-an-ftp-account-in-directadmin/feed/ 0
Transferring Files in Cute FTP https://www.hivelocity.net/kb/transfer-files-in-cute-ftp/ https://www.hivelocity.net/kb/transfer-files-in-cute-ftp/#respond Sat, 04 Dec 2010 09:34:24 +0000 https://kb.hivelocity.net/?p=2858 Watch this tutorial to learn how to transfer files in Cute FTP.

The post Transferring Files in Cute FTP appeared first on Hivelocity Hosting.

]]>
Watch this tutorial to learn how to transfer files in Cute FTP.

The post Transferring Files in Cute FTP appeared first on Hivelocity Hosting.

]]>
https://www.hivelocity.net/kb/transfer-files-in-cute-ftp/feed/ 0
Setting Your Preferences in Cute FTP https://www.hivelocity.net/kb/set-your-preferences-in-cute-ftp/ https://www.hivelocity.net/kb/set-your-preferences-in-cute-ftp/#respond Sat, 04 Dec 2010 09:32:50 +0000 https://kb.hivelocity.net/?p=2856 Watch this tutorial to learn how to set your preferences in Cute FTP.

The post Setting Your Preferences in Cute FTP appeared first on Hivelocity Hosting.

]]>
Watch this tutorial to learn how to set your preferences in Cute FTP.

The post Setting Your Preferences in Cute FTP appeared first on Hivelocity Hosting.

]]>
https://www.hivelocity.net/kb/set-your-preferences-in-cute-ftp/feed/ 0
Managing Sites in Cute FTP https://www.hivelocity.net/kb/manage-sites-in-cute-ftp/ https://www.hivelocity.net/kb/manage-sites-in-cute-ftp/#respond Sat, 04 Dec 2010 09:30:46 +0000 https://kb.hivelocity.net/?p=2854 Watch this tutorial to learn how to manage sites in Cute FTP.

The post Managing Sites in Cute FTP appeared first on Hivelocity Hosting.

]]>
Watch this tutorial to learn how to manage sites in Cute FTP.

The post Managing Sites in Cute FTP appeared first on Hivelocity Hosting.

]]>
https://www.hivelocity.net/kb/manage-sites-in-cute-ftp/feed/ 0
Configuring Sites in Cute FTP https://www.hivelocity.net/kb/configure-sites-in-cute-ftp/ https://www.hivelocity.net/kb/configure-sites-in-cute-ftp/#respond Sat, 04 Dec 2010 09:28:53 +0000 https://kb.hivelocity.net/?p=2852 Watch this tutorial to learn how to configure sites in Cute FTP.

The post Configuring Sites in Cute FTP appeared first on Hivelocity Hosting.

]]>
Watch this tutorial to learn how to configure sites in Cute FTP.

The post Configuring Sites in Cute FTP appeared first on Hivelocity Hosting.

]]>
https://www.hivelocity.net/kb/configure-sites-in-cute-ftp/feed/ 0