JFTP::connect: Could not connect to host
-
- Joomla! Apprentice
- Posts: 40
- Joined: Fri Sep 08, 2006 8:54 am
JFTP::connect: Could not connect to host
I installed 1.5 RC4. Using ftp worked fine until recently. When I want to change something now I get the message:
* JFTP::connect: Could not connect to host on port 21
* JClientHelper::setCredentialsFromRequest failed
I use the same ftp username and password with which it worked so far! I have not changed anything. What can have happened?
* JFTP::connect: Could not connect to host on port 21
* JClientHelper::setCredentialsFromRequest failed
I use the same ftp username and password with which it worked so far! I have not changed anything. What can have happened?
- Ian_B
- Joomla! Apprentice
- Posts: 5
- Joined: Fri Jan 04, 2008 4:47 pm
- Location: Telford - England
- Contact:
Re: JFTP::connect: Could not connect to host
I have just upgraded to 1.5.7 from 1.5.3 and now get the same error. Can anyone help please?
Webmaster for www.rossdanby.net
- brad
- Joomla! Master
- Posts: 13420
- Joined: Fri Aug 12, 2005 12:38 am
- Location: Sydney - Australia
- Contact:
Re: JFTP::connect: Could not connect to host
Try disabling the FTP layer.Ian_B wrote:I have just upgraded to 1.5.7 from 1.5.3 and now get the same error. Can anyone help please?
-
- Joomla! Apprentice
- Posts: 22
- Joined: Thu Oct 19, 2006 2:28 pm
Re: JFTP::connect: Could not connect to host
judging by the number of users who're having serious issues with the ftp layer i can't believe the devs are persisting with it
-
- Joomla! Fledgling
- Posts: 2
- Joined: Sat Jan 17, 2009 2:04 am
Re: JFTP::connect: Could not connect to host
I have exactly the same problem, and I do need to enable the FTP layer, as I have permission issues. This is driving me mad...
Has anyone found a solution yet?
Has anyone found a solution yet?
- brad
- Joomla! Master
- Posts: 13420
- Joined: Fri Aug 12, 2005 12:38 am
- Location: Sydney - Australia
- Contact:
Re: JFTP::connect: Could not connect to host
Talk to your host? Put pressure on them to run suphp?
Good shared hosting setups don't need it anyway. If you need it.. and are having issues, read this: http://community.joomla.org/team-blogs/ ... -time.html and http://community.joomla.org/team-blogs/ ... en-up.htmljudging by the number of users who're having serious issues with the ftp layer i can't believe the devs are persisting with it
-
- Joomla! Fledgling
- Posts: 2
- Joined: Sat Jan 17, 2009 2:04 am
Re: JFTP::connect: Could not connect to host
Thanks for your reply.
I did a phpinfo() and found that register_globals if OFF. I don't know how to check if they're running suphp. Can you tell me how to check it? I'm just a newbie.
By the way, my security problem was that Joomla was unable to work properly without CHMOD 777 in all files and directories. But this morning it got mysteriously fixed!!
I did a phpinfo() and found that register_globals if OFF. I don't know how to check if they're running suphp. Can you tell me how to check it? I'm just a newbie.
By the way, my security problem was that Joomla was unable to work properly without CHMOD 777 in all files and directories. But this morning it got mysteriously fixed!!
-
- Joomla! Apprentice
- Posts: 24
- Joined: Thu Jul 20, 2006 11:08 pm
Re: JFTP::connect: Could not connect to host
How do you disable the FTP layer? I looked in the global config but could find it.
Thanks.
Thanks.
-
- Joomla! Apprentice
- Posts: 24
- Joined: Thu Jul 20, 2006 11:08 pm
Re: JFTP::connect: Could not connect to host
Strike that.
If it was snake it would have bit me. How embarrassing.
If it was snake it would have bit me. How embarrassing.
-
- Joomla! Apprentice
- Posts: 8
- Joined: Wed May 13, 2009 6:57 am
Re: JFTP::connect: Could not connect to host
Joomla Error: JFTP::login: Unable to login
While designing this site, I tried to upload some images to my articles. However, I received the following error message during the uploading:
JFTP::login: Unable to login
JFTP::write: Unable to use passive mode
I searched a lot, but could not find the solution. Then, at some forum, I figured out the issue. Here are the steps to solve the error:
1) Login to your administrator panel
2) Go to Site -à Global configuration -à Server
3) Under FTP settings, enter your FTP details and select yes for “Enable FTP”.
4) Click on Save at the upper right corner.
That’s It! After these settings, my error was completely resolved.
While designing this site, I tried to upload some images to my articles. However, I received the following error message during the uploading:
JFTP::login: Unable to login
JFTP::write: Unable to use passive mode
I searched a lot, but could not find the solution. Then, at some forum, I figured out the issue. Here are the steps to solve the error:
1) Login to your administrator panel
2) Go to Site -à Global configuration -à Server
3) Under FTP settings, enter your FTP details and select yes for “Enable FTP”.
4) Click on Save at the upper right corner.
That’s It! After these settings, my error was completely resolved.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Wed Oct 21, 2009 2:12 pm
Re: JFTP::connect: Could not connect to host
FTP Host: try to use 「localhost」 instead of 「127.0.0.1」
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sun Oct 18, 2009 4:35 am
Re: JFTP::connect: Could not connect to host
I had this same mystery for a while. Part of the problem turned out to be SELinux settings. Particularly, the httpd_can_network_connect boolean setting was "off" and had to be set to "on" before anything running under the httpd (Apache) process (like the Joomla! PHP files) would be able to establish an outbound network connection, even to localhost.
To check:
getenforce
...would display Enforcing
getsebool httpd_can_network_connect
....would report httpd_can_network_connect --> off
To set it temporarily and see if it helps:
setsebool httpd_can_network_connect=1
If it helped, set it in the selinux policy so it will survive a reboot:
setsebool -P httpd_can_network_connect=1
To check:
getenforce
...would display Enforcing
getsebool httpd_can_network_connect
....would report httpd_can_network_connect --> off
To set it temporarily and see if it helps:
setsebool httpd_can_network_connect=1
If it helped, set it in the selinux policy so it will survive a reboot:
setsebool -P httpd_can_network_connect=1
-
- Joomla! Fledgling
- Posts: 3
- Joined: Tue Jun 29, 2010 1:59 pm
Re: JFTP::connect: Could not connect to host
I have the same problem, but in a few features:
when I try to upload pictures to virtuemart do not warn me about FTP problem. But when I try to install a new plugin warns me:
# JFTP::login: Unable to login
# JFTP::store: Unable to use passive mode
Can anyone help me?
when I try to upload pictures to virtuemart do not warn me about FTP problem. But when I try to install a new plugin warns me:
# JFTP::login: Unable to login
# JFTP::store: Unable to use passive mode
Can anyone help me?
-
- Joomla! Fledgling
- Posts: 2
- Joined: Wed Mar 13, 2013 11:22 am
Re: JFTP::connect: Could not connect to host - Change hostna
Hi,
Changing the hostname in FTP settings to 'localhost' solved my issue.
1) Login to your administrator panel
2) Go to Site -à Global configuration -à Server
3) Under FTP settings, enter your FTP details and select yes for “Enable FTP”.
4) Click on Save at the upper right corner.
Change it in var $ftp_host = 'localhost'; in configuration.php as well.
Changing the hostname in FTP settings to 'localhost' solved my issue.
1) Login to your administrator panel
2) Go to Site -à Global configuration -à Server
3) Under FTP settings, enter your FTP details and select yes for “Enable FTP”.
4) Click on Save at the upper right corner.
Change it in var $ftp_host = 'localhost'; in configuration.php as well.