FTP Server on Ubuntu Not Working?
-
Hi Everyone, I have a computer running Ubuntu 9.10 and I'm running the server software proftpd/gadmin-proftpd. I set up a server and it worked for a while, but then I made a mistake (not too sure what it was) and it wouldn't work anymore. Before I was able to connect to the server via FTP using Finder on another computer. I was also able to upload using Dreamweaver CS4. And I was also able to view my pages in Safari on another computer. I've tried many steps to make the server work again. I've uninstalled and reinstalled proftpd, gadmin-proftpd, lamp-server, and the entire Ubuntu OS. As it's set up currently I can connect to it via FTP in Finder using the computer's INTERNAL but not EXTERNAL IP address. I can upload files using Dreamweaver CS4 using the computers INTERNAL but not EXTERNAL IP address. If I type in the external IP address in a browser using my local network I get this page: Not Found The requested URL / was not found on this server. Apache/2.2.12 (Ubuntu) Server at (my external ip address) Port 80 I tried to view the site on my iPhone with Wi-Fi turned off and all it says is that the server stopped responding. Here is my config file: ServerType standalone DefaultServer on Umask 022 ServerName "computer's internal ip" ServerIdent on "my server identity" ServerAdmin [email protected] IdentLookups off UseReverseDNS off Port 21 PassivePorts 49152 65534 #MasqueradeAddress None TimesGMT off MaxInstances 30 MaxLoginAttempts 3 TimeoutLogin 300 TimeoutNoTransfer 120 TimeoutIdle 120 DisplayLogin welcome.msg DisplayChdir .message User nobody Group nobody DirFakeUser off nobody DirFakeGroup off nobody DefaultTransferMode binary AllowForeignAddress off AllowRetrieveRestart on AllowStoreRestart on DeleteAbortedStores off TransferRate RETR 220 TransferRate STOR 250 TransferRate STOU 250 TransferRate APPE 250 SystemLog /var/log/secure RequireValidShell off <IfModule mod_tls.c> TLSEngine off TLSRequired off TLSVerifyClient off TLSProtocol SSLv23 TLSLog /var/log/proftpd_tls.log TLSRSACertificateFile /etc/gadmin-proftpd/certs/cert.pem TLSRSACertificateKeyFile /etc/gadmin-proftpd/certs/key.pem TLSCACertificateFile /etc/gadmin-proftpd/certs/cacert.pem TLSRenegotiate required off </IfModule> <IfModule mod_ratio.c> Ratios off SaveRatios off RatioFile "/restricted/proftpd_ratios" RatioTempFile "/restricted/proftpd_ratios_temp" CwdRatioMsg "Please upload first!" FileRatioErrMsg "FileRatio limit exceeded, upload something first..." ByteRatioErrMsg "ByteRatio limit exceeded, upload something first..." LeechRatioMsg "Your ratio is unlimited." </IfModule> <Limit LOGIN> AllowUser myusername DenyALL </Limit> <Anonymous /var/www> User myusername Group mygroupname AnonRequirePassword on MaxClients 5 "The server is full, hosting %m users" DisplayLogin welcome.msg <Limit LOGIN> Allow from all Deny from all </Limit> AllowOverwrite on <Limit LIST NLST STOR STOU APPE RETR RNFR RNTO DELE MKD XMKD SITE_MKDIR RMD XRMD SITE_RMDIR SITE SITE_CHMOD SITE_CHGRP MTDM PWD XPWD SIZE STAT CWD XCWD CDUP XCUP> AllowAll </Limit> <Limit NOTHING> DenyAll </Limit> </Anonymous> Any help much appreciated! Thanks
-
Answer:
Most FTP problems arise from closed ports. make sure the ports 21, 49152, and 65534 also make sure you are typing: ftp://external ip address:21 to specify that you are making a FTP connection on port 21 not a HTTP connection on port 80 notice that your are connecting to your Apache server not ProFTPD Apache/2.2.12 (Ubuntu) Server at (my external ip address) Port 80
Brandon at Yahoo! Answers Visit the source
Related Q & A:
- How to Upload a JSP File to the smart FTP?Best solution by Yahoo! Answers
- How to download recursively with ftp library?Best solution by codeproject.com
- How do I make a python web program that is on a ubuntu server allow access to the server?Best solution by Yahoo! Answers
- Can I Programmatically Create FTP Accounts With Azure?Best solution by Server Fault
- Why is my sound not working in ubuntu?Best solution by wiki.answers.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.