Moderator: Project members
-
NuShen
- 500 Command not understood
- Posts: 4
- Joined: 2008-05-01 19:07
- First name: Ashley
- Last name: Cain
Error, could not connect to server
#1
Post
by NuShen » 2008-05-01 19:23
I set up FZ Server and it ran very nicely. I rebooted my computer and it’s giving me this error over and over…
_____________________________
Reconnecting to server…
Error, could not connect to server
Trying to reconnect in 5 seconds
_____________________________
I use a D-LINK router with a Verizon DSL (Dynamic) connection.
Windows XP Professional
Norton Internet Security
FZ Server is setup to connect using IP 127.0.0.1:14147
Port forwarding on the router comes in two categories;
— Port Forwarding, allowing a network PC to be selected/entered (i.e. 192.168.0.100) and a Start port and End port and then selection of TCP/UDP/Any
— Application Rules, allowing a Trigger Port and seperate Firewall entry with TCP/UDP/Any selection as well
I went through the FAQ and the link in your sig and didn’t see anything relating and also parused the forums. So if you would please, run me through the settings you recommend and any troubleshooting suggestions? Hopefully I can get this up and running by my deadline tonight!
-
boco
- Contributor
- Posts: 26709
- Joined: 2006-05-01 03:28
- Location: Germany
Re: Error, could not connect to server
#2
Post
by boco » 2008-05-01 19:40
Check if the FZ Server service runs. If it does, I’d suspect Norton (yuck).
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###
-
NuShen
- 500 Command not understood
- Posts: 4
- Joined: 2008-05-01 19:07
- First name: Ashley
- Last name: Cain
Re: Error, could not connect to server
#3
Post
by NuShen » 2008-05-01 19:59
Hrmph…
I have FileZilla Server Interface.exe running, nothing with just «Server» so I’m assuming that leads us to Norton? If that’s the case, I already have it set to «Allow», meaning it lets FZ do whatever it wants to but apparently there’s some super secret process going on to conspire against FZ.
So how do we go about twisting Norton’s arm and blindfolding it in one eye to ignore FZ? Also, could you run me through how you want those router settings set just to be sure I didn’t do something silly? It’s very possible I flaked and did, in fact, do something very silly in my router settings out of panic and deadline evilness.
-
boco
- Contributor
- Posts: 26709
- Joined: 2006-05-01 03:28
- Location: Germany
Re: Error, could not connect to server
#4
Post
by boco » 2008-05-01 22:52
Look at the picture. These two components have to be running for successfully operating the server.
1. Press WINDOWS+R (or click Start-Run…)
2. Enter «services.msc» (without the quotes)
3. Search for the Filezilla FTP Server service
4. Check if it’s running
Post the results here.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###
-
NuShen
- 500 Command not understood
- Posts: 4
- Joined: 2008-05-01 19:07
- First name: Ashley
- Last name: Cain
Re: Error, could not connect to server
#5
Post
by NuShen » 2008-05-01 23:20
Okay, I found one called «FileZilla Server FTP server» and noticed it was set to «Manual» service type. I click «Start» and vwa la… it was working again. I still need to test if it can be accessed from the outside, but I’m confident it will work.
Thank you!!
-
boco
- Contributor
- Posts: 26709
- Joined: 2006-05-01 03:28
- Location: Germany
Re: Error, could not connect to server
#6
Post
by boco » 2008-05-02 06:59
Set the service to ‘Auto’ so it starts up every time the OS is booted.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###
-
NuShen
- 500 Command not understood
- Posts: 4
- Joined: 2008-05-01 19:07
- First name: Ashley
- Last name: Cain
Re: Error, could not connect to server
#7
Post
by NuShen » 2008-05-02 10:15
Alright. It’s now set to auto and seems to be acting normal. Again, thank you so much!
-
coconutdog
- 500 Command not understood
- Posts: 5
- Joined: 2010-11-21 00:53
- First name: Matt
- Last name: Wilson
Re: Error, could not connect to server
#8
Post
by coconutdog » 2015-09-02 07:52
Try entering 127.0.0.1 as the server address.
Below you find a step by step guide, if you prefer you can watch our How to Resolve the Critical Error “Could not Connect to Server” video tutorial.
This error usually means that the login details or method set for a remote connection are incorrect.
Check:
- The user ID and password that you entered. Note that for many website hosting providers, the user ID and password that you use to login to the website itself will be different to the user ID and password that you need for file transfer connections. Look for FTP or SFTP or SSH connection details in the information provided by the hosting provider.
- The type of login configured for this site. In the Site Manager, select the connection
and check the Logon Type drop down list. Most servers will refuse Anonymous automatically.
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server" message
If the connection is failing with the status message above, there might be a local network configuration issue. FileZilla/FileZilla Pro has a network configuration wizard that can find common issues in network and router settings.
To diagnose:
- In the main menu click on Edit > Network configuration wizard….
- Click on Next
- Enter details as requested – if you’re unsure, you can usually use the default configuration settings and just click Next at each screen.
Once FileZilla/FileZilla Pro has gathered all the configuration information it needs, it will perform a test connection on a test server run by the FileZilla team. If the test connection works with no errors, then the problem probably exists on the remote site that you’re trying to connect to.
Another possible cause is that the connection is being blocked by a firewall. If you have a local firewall or an antivirus, try to disable it. If that works you may need to add an exception to the firewall configuration to grant FileZilla Pro permanent access to the network.
If you are in a corporate network, you may need to ask the network administrator to open specific FTP ports.
Most FTP servers use port 21, SFTP servers use port 22 and FTPS (implicit mode) use port 990 by default.
The video tutorial below shows how to resolve the critical error “Could not Connect to Server”
Video tutorial: How to Fix Connection Error
Usually, this error occurs when you have incorrect saved certificates in trustedcerts.xml at your local system. To fix this issue, you will need to remove/rename this certificate file from your system.
The file trustedcerts.xml contains certificates for secure websites that you have told your FileZilla client to trust connections to. This file should not be confused with any certificates you have in use if you use FileZilla as a server as well.
In order to remove a saved certificate from Windows System, navigate to %APPDATA%\FileZilla and delete OR rename the trustedcerts.xml file.
In order to remove a saved certificate from Linux System, navigate to ~/.config/filezilla/ and delete or rename trustedcerts.xml file.
Once you remove or rename this file, you will get the prompt to accept the certificate while you attempt to connect to FTP server through FileZilla. On getting the prompt of certificate, select «Always trust this certificate» and then accept it.
Is FileZilla showing Critical error: Could not connect to the server? We can help you fix it.
Usually, FTP clients like FileZilla shows a connection error due to the incorrect protocol or incorrect login credentials.
Here at Bobcares, we often get requests from our customers to fix FileZilla errors as part of our Server Management Services.
Today, let’s see how our Support Engineers fix this error for our customers.
What is the difference between FTP and SFTP?
Before reading more about the error, let’s get an idea of FTP and SFTP.
The FTP and SFTP are two different protocols used for file transfer.
FTP transfer the password and data in the plain text format whereas, SFTP encrypts the data before sending it to another host.
FTP doesn’t provide a secure channel to transfer files between hosts whereas SFTP offers a secure channel for transferring files between the hosts. Thus, SFTP is found to be more secure than the FTP protocol.
How to fix Critical error could not connect to Server?
At Bobcares, where we have more than a decade of expertise in managing servers, we see many customers face this problem.
Now, let’s see how our Support Engineers fix the error for our customer in simple steps.
1. Incorrect Protocol
The customer got the below error when he tried to establish an FTP connection with an SFTP server.
Error: Cannot establish FTP connection to an SFTP server. Please select proper protocol.
Error: Critical error: Could not connect to server
On checking, we found that the protocol is incorrect. For the proper connection, the protocol should be SFTP and not FTP.
We fixed the error easily by enabling the SFTP protocol instead of FTP. Both the SFTP and FTP are different file transfer protocols and the main difference with the protocols is associated with security.
We asked customer to fix the error using these simple steps.
1. Initially, open FileZilla.
2. Then go to File and click the Site Manager option.
3. In the Site Manager, go in the General tab and select SFTP in Protocol.
Finally, choose Logon Type as Normal and provide a valid username and Password.
Also, provide the Host details and Port number as 22.
This fixes the Critical error: could not connect to Server in FileZilla during establishing an FTP connection to an SFTP server.
2. Incorrect login credentials
Very often, some customers may get the below error in FileZilla.
Response: 530 Login authentication failed
Error: Critical error: Could not connect to server
This error occurs when users enter an incorrect username/password or host. So we advise our customers to check the username and password are correct.
[Need any assistance with FileZilla Errors – We can help you fix it]
Conclusion
In short, Critical error: Could not connect to Server in FileZilla happens due to incorrect protocol or wrong login details. Also, we saw how our Support Engineers helped our customer to resolve the connection error in FileZilla.
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»;
The PostgreSQL error “Could not connect to server” can happen for various reasons. Often it is enough to restart the open source database management system or adjust the TCP/IP settings.
Contents
- Requirements
- “Could not connect to server: No such file or directory”
- “Could not connect to server: Connection refused”
Requirements
- Cloud Server running Linux (CentOS 7 or Ubuntu 16.04)
- PostgreSQL installed and running.
vServer (VPS) from IONOS
Low-cost, powerful VPS hosting for running your custom applications, with a personal assistant and 24/7 support.
100 % SSD storage
Ready in 55 sec.
SSL certificate
“Could not connect to server: No such file or directory”
The PostgreSQL error “Could not connect to server: No such file or directory” usually means that PostgreSQL is not running. However, the error is actually often related to issues with permission.
First, use the systemctl status postgresql command to check PostgreSQL’s status:
user@localhost:~# systemctl status postgresql
● postgresql.service - PostgreSQL RDBMS
Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled)
Active: **active** (exited) since Thu 2017-03-23 21:34:03 UTC; 14s ago
Main PID: 24289 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/postgresql.service
Mar 23 21:34:03 localhost.localdomain systemd[1]: Starting PostgreSQL RDBMS...
Mar 23 21:34:03 localhost.localdomain systemd[1]: Started PostgreSQL RDBMS.
Mar 23 21:34:08 localhost.localdomain systemd[1]: Started PostgreSQL RDBMS.
If the status is shown as active, restart PostgreSQL with the systemctl restart postgresql command. If the status is shown as inactive, start PostgreSQL with the systemctl start posgresql command.
If a restart does not fix the problem, look at the permissions of your directory with the path /var/lib/postgresql/9.6/main. The version number 9.6 may differ depending on your installation. It is expected that permissions for folders are set to “0700” and permissions for files are set to “0600”. This means that folders must have read, write, and execute permissions, and files must have read and write permissions. Use the ls command in the path above to display current permissions.
If you find permissions are different, run the following commands in the command line:
sudo chown -R postgres:postgres /var/lib/postgresql/9.6/
sudo chmod -R u=rwX,go= /var/lib/postgresql/9.6/
Restart PostgreSQL as shown above.
“Could not connect to server: Connection refused”
Another variant of the PostgreSQL error is “Could not connect to server: Connection refused”.
First, use the systemctl-status postgresql command to verify that PostgreSQL is running. To be sure that PostgreSQL is running, you can also restart it with systemctl restart postgresql.
If this does not fix the problem, the most likely cause of this error is that PostgreSQL is not configured to allow TCP/IP connections.
To correct this, edit your posgresql.conf file. These can be found in one of the following file paths, depending on your Linux distribution:
- Ubuntu 16.04: sudo nano /etc/postgresql/9.5/main/posgresql.conf
- CentOS 7: sudo nano /usr/pgsql-10/share/postgresql.conf
Check the listen_address configuration. To allow TCP/IP connections, it should be set to “0.0.0.0” (to allow connections from all IP addresses) or to the specific IP address of the server it will allow to connect.
If this configuration is left blank or set to localhost, PostgreSQL will not allow external TCP/IP connections. This also corresponds to the default setting of PostgreSQL.
PostgreSQL will not be able to connect to the server when the connection is blocked by a firewall. Note that all Cloud Servers are affected by the default Firewall Policy which is controlled from the Cloud Panel.
Cloud backup from IONOS
Make costly downtime a thing of the past and back up your business the easy way!
Related articles

Change the PHP Version on a Plesk Server
Learn how to change the PHP version for a server with Plesk. This tutorial includes instructions on how to find the PHP version your Plesk server is using, change to a different PHP version, and install a different PHP version if necessary.
Change the PHP Version on a Plesk Server

Fixing SSH Errors
Learn how to resolve some of the most common errors you may receive when connecting to a server with SSH. You can find the most common errors in this guide.
Fixing SSH Errors

PostgreSQL: a closer look at the object-relational database management system
The PostgreSQL database management system, also known to many as Postgres, has many decades of development behind it. It originally started as a project at Berkeley University in California. Today, the open source database continues to defy solutions from commercial competitors, since the development team is constantly working on its functionality and performance. But what exactly is PostgreSQL?…
PostgreSQL: a closer look at the object-relational database management system

Install PostgreSQL on Windows Server 2016
PostgreSQL is an open source object-relational database system with over 15 years of active development and a reputation for reliability. Learn how to install PostgreSQL on Windows Server 2016.
Install PostgreSQL on Windows Server 2016

PostgreSQL backup with pg_dump and pg_restore
Creating database backups is one of the standard tasks of web and system admins. Each database management system comes with its own tools for creating backups. PostgreSQL has the command line programs pg_dump and pg_restore. The command line interface psql is also used. We’ll present you with the most common backup scenarios with examples of the required code.
PostgreSQL backup with pg_dump and pg_restore

How to install PostgreSQL on Ubuntu
The object-relational database management system PostgreSQL is one of the most popular open-source solutions for servers. You can also install PostgreSQL on Ubuntu 20.04. This is very simple to do. Read on to find out how to install PostgreSQL on Ubuntu and create a new database. You’ll also learn what resources you will need for your PostgreSQL server.
How to install PostgreSQL on Ubuntu



