Bobcares

Proftpd connection refused – Let’s see how we easily patched it

by | Nov 28, 2019

Receiving the error “Proftpd connection refused”? We can help you.

Recently, we came across this error while managing FTP servers due to which the customer was not able to connect to FTP for long.

At Bobcares, we often get requests to fix the ProFTPD errors as part of our Server Management Services.

Today, let’s get into the details and see how our Support Engineers fix ProFTPD error.

 

Why does ProFTPD connection refused error shows up?

Many of our customers receive errors like ProFTPD connection refused while managing FTP servers.

We’ve seen this error mainly occurring due to any problem with the FTP service.

Also, firewall blocking the access is another reason for this error to occur.

 

How we fix ProFTPD connection refused error?

At Bobcares, where we have more than a decade of expertise in managing servers, we see many customers face problems while managing ProFTPD servers.

Now, let’s see how our Support Engineers fix this error.

 

Improper installation

Recently, one of our customers had a problem with his FTP on the Virtualmin server. When he tried to connect to ProFTPD server, he got an error as below.

ftp> localhost ftp> open (to) localhost ftp: connect to address ::1: Connection refused Trying 127.0.0.1... ftp: connect: Connection refused.

While checking, our Support Engineers found that the error was caused due to the improper installation of ProFTPD.

So, we deleted the configuration and data files of ProFTPD-basic from Ubuntu Xenial with the following command.

apt-get purge proftpd-basic

After that, we reinstall the ProFTPD and its dependent packages as below.

apt-get install proftpd

At last, we launch ProFTPD service.

service proftpd restart

This is how we fixed the error.

 

Service not enabled

Similarly, another customer got a connection refused error in Webmin server when trying to upload initial files using FTP and the error msg looked like,

Status: Connecting to XX.XXX.XXX.XXX:21...
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Error: Could not connect to server

On checking, our Support Engineers found that the ProFTPD service was not running on the server.

So, we used the below command to test whether the FTP service is running on the server.

telnet localhost 21

As a result, we got the below error message.

Trying ::1... Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused.

When checking the status, we got the following result.

service proftpd status: ● proftpd.service - LSB: Starts ProFTPD daemon Loaded: loaded (/etc/init.d/proftpd) Active: active (running) since Wed 2019-03-16 00:38:10 EET; 5h 44min ago Process: 455 ExecStart=/etc/init.d/proftpd start (code=exited, status=0/SUCCESS) CGroup: /system.slice/proftpd.service └─572 proftpd: (accepting connections)

Therefore, we enabled ProFTPD on the server via Webmin control panel >> Home >> server-status option

Finally, that fixed the error.

 

[Need assistance to fix ProFTPD errors? We’ll help you.]

 

Conclusion

In short, A ProFTPD connection refused error occurs when the server has a problem with either with an FTP service or with a firewall blocking access to it. Today, we saw the topmost reason for the ProFTPD error and how our Support Engineers fixed it.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

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

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF