Cannot Connect to VSFTP outside of networkCan't connect to vsftpd from Windows XP (FTPS)I setup vsftpd on ubuntu server on my ec2 instance, how to connect using SSH?Can't connect to vsftpd on Ubuntu 10.04vsftpd - local_root=/var/www/sites/$USER doesn't get interpreted?Getting VSFTP running on Fedora 14Issues with VSFTPD / FTP on Linux Ubuntu server - Steps for Troubleshooting?Tomcat & Java not listening on IPv6Server not responding from outside the LANUnable to connect to vsftpd from DemandwareVSFTP Not Working After Static IP Change

Looking after a wayward brother in mother's will

What are the benefits of cryosleep?

Can a flying character can use Ant Haul to carry another character?

Windows 10 Programs start without visual Interface

French translation of “only ever”

Do firearms count as ranged weapons?

What F1 in name of seeds/varieties means?

Pattern matching repeated arguments of Times

Restoring order in a deck of playing cards

How to prevent bad sectors?

Ticket sales for Queen at the Live Aid

How many chess players are over 2500 Elo?

Smart people send dumb people to a new planet on a space craft that crashes into a body of water

Why does the 6502 have the BIT instruction?

What are these (utility?) boxes at the side of the house?

How do I subvert the tropes of a train heist?

Mother abusing my finances

Why do they consider the Ori false gods?

Is my router's IP address really public?

What does "Marchentalender" on the front of a postcard mean?

Can non-English-speaking characters use wordplay specific to English?

Is it possible to change original filename of an exe?

In “An element of a set can never be a subset of itself”, what does ‘itself’ stand for?

Is there an explanation for Austria's Freedom Party virtually retaining its vote share despite recent scandal?



Cannot Connect to VSFTP outside of network


Can't connect to vsftpd from Windows XP (FTPS)I setup vsftpd on ubuntu server on my ec2 instance, how to connect using SSH?Can't connect to vsftpd on Ubuntu 10.04vsftpd - local_root=/var/www/sites/$USER doesn't get interpreted?Getting VSFTP running on Fedora 14Issues with VSFTPD / FTP on Linux Ubuntu server - Steps for Troubleshooting?Tomcat & Java not listening on IPv6Server not responding from outside the LANUnable to connect to vsftpd from DemandwareVSFTP Not Working After Static IP Change






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I am having a hair pulling issue with my VSFTPD. I am not sure where to turn and I have went through to make sure everything is working properly and when trying to connect to ftp using ftp localhost I am able to login with the username and password I have specified. When I try to connect from outside I get the prompt Connected to domainname.com. but no prompt for user and password in addition when using an FTP client it hangs up and never connects.



The server is running Ubuntu 12.04 LTS and VSFTPD 2.3.5



Here is the output of running iptables -L : http://pastie.org/4892233



Here is he output when running ps -FC vsftpd :



root 14343 1 0 1168 984 3 16:55 ? 00:00:00 /usr/sbin/vsftpd


Here is output of running netstat -tlpn | grep vsftpd :



tcp6 0 0 :::21 :::* LISTEN 14343/vsftpd 


I have uninstalled and reinstalled many times and tried several different configurations and am at a complete loss on why this may not be working. We very often use the same configuration on the same type of servers with no issues.



Thank you in advance for your help.










share|improve this question






















  • hangs up and never connects in what way, do you maybe get a message like this "227 Entering Passive Mode...", are you trying to access your server from internal network or by the public IP

    – rAlen
    Oct 1 '12 at 17:26











  • HI @Alen - Thanks for your reply. The message I just got from trying to connect via ip was: Connected to XX.XXX.XX.XX. 421 Service not available, remote server timed out. Connection closed.

    – jnolte
    Oct 1 '12 at 17:33











  • Looks like something is blocking ftp connections between the client and the server, are you connecting from the client in the same subnet as the server, or are you going over some router or firewall. Also as I recall vsftpd is by default set to listen on port 20 not 21 check that, did you enable passive mode on vsftpd, and are you on the client using passive mode or active, what client are you using

    – rAlen
    Oct 1 '12 at 17:44


















0















I am having a hair pulling issue with my VSFTPD. I am not sure where to turn and I have went through to make sure everything is working properly and when trying to connect to ftp using ftp localhost I am able to login with the username and password I have specified. When I try to connect from outside I get the prompt Connected to domainname.com. but no prompt for user and password in addition when using an FTP client it hangs up and never connects.



The server is running Ubuntu 12.04 LTS and VSFTPD 2.3.5



Here is the output of running iptables -L : http://pastie.org/4892233



Here is he output when running ps -FC vsftpd :



root 14343 1 0 1168 984 3 16:55 ? 00:00:00 /usr/sbin/vsftpd


Here is output of running netstat -tlpn | grep vsftpd :



tcp6 0 0 :::21 :::* LISTEN 14343/vsftpd 


I have uninstalled and reinstalled many times and tried several different configurations and am at a complete loss on why this may not be working. We very often use the same configuration on the same type of servers with no issues.



Thank you in advance for your help.










share|improve this question






















  • hangs up and never connects in what way, do you maybe get a message like this "227 Entering Passive Mode...", are you trying to access your server from internal network or by the public IP

    – rAlen
    Oct 1 '12 at 17:26











  • HI @Alen - Thanks for your reply. The message I just got from trying to connect via ip was: Connected to XX.XXX.XX.XX. 421 Service not available, remote server timed out. Connection closed.

    – jnolte
    Oct 1 '12 at 17:33











  • Looks like something is blocking ftp connections between the client and the server, are you connecting from the client in the same subnet as the server, or are you going over some router or firewall. Also as I recall vsftpd is by default set to listen on port 20 not 21 check that, did you enable passive mode on vsftpd, and are you on the client using passive mode or active, what client are you using

    – rAlen
    Oct 1 '12 at 17:44














0












0








0








I am having a hair pulling issue with my VSFTPD. I am not sure where to turn and I have went through to make sure everything is working properly and when trying to connect to ftp using ftp localhost I am able to login with the username and password I have specified. When I try to connect from outside I get the prompt Connected to domainname.com. but no prompt for user and password in addition when using an FTP client it hangs up and never connects.



The server is running Ubuntu 12.04 LTS and VSFTPD 2.3.5



Here is the output of running iptables -L : http://pastie.org/4892233



Here is he output when running ps -FC vsftpd :



root 14343 1 0 1168 984 3 16:55 ? 00:00:00 /usr/sbin/vsftpd


Here is output of running netstat -tlpn | grep vsftpd :



tcp6 0 0 :::21 :::* LISTEN 14343/vsftpd 


I have uninstalled and reinstalled many times and tried several different configurations and am at a complete loss on why this may not be working. We very often use the same configuration on the same type of servers with no issues.



Thank you in advance for your help.










share|improve this question














I am having a hair pulling issue with my VSFTPD. I am not sure where to turn and I have went through to make sure everything is working properly and when trying to connect to ftp using ftp localhost I am able to login with the username and password I have specified. When I try to connect from outside I get the prompt Connected to domainname.com. but no prompt for user and password in addition when using an FTP client it hangs up and never connects.



The server is running Ubuntu 12.04 LTS and VSFTPD 2.3.5



Here is the output of running iptables -L : http://pastie.org/4892233



Here is he output when running ps -FC vsftpd :



root 14343 1 0 1168 984 3 16:55 ? 00:00:00 /usr/sbin/vsftpd


Here is output of running netstat -tlpn | grep vsftpd :



tcp6 0 0 :::21 :::* LISTEN 14343/vsftpd 


I have uninstalled and reinstalled many times and tried several different configurations and am at a complete loss on why this may not be working. We very often use the same configuration on the same type of servers with no issues.



Thank you in advance for your help.







linux ubuntu ftp






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Oct 1 '12 at 17:15









jnoltejnolte

190111




190111












  • hangs up and never connects in what way, do you maybe get a message like this "227 Entering Passive Mode...", are you trying to access your server from internal network or by the public IP

    – rAlen
    Oct 1 '12 at 17:26











  • HI @Alen - Thanks for your reply. The message I just got from trying to connect via ip was: Connected to XX.XXX.XX.XX. 421 Service not available, remote server timed out. Connection closed.

    – jnolte
    Oct 1 '12 at 17:33











  • Looks like something is blocking ftp connections between the client and the server, are you connecting from the client in the same subnet as the server, or are you going over some router or firewall. Also as I recall vsftpd is by default set to listen on port 20 not 21 check that, did you enable passive mode on vsftpd, and are you on the client using passive mode or active, what client are you using

    – rAlen
    Oct 1 '12 at 17:44


















  • hangs up and never connects in what way, do you maybe get a message like this "227 Entering Passive Mode...", are you trying to access your server from internal network or by the public IP

    – rAlen
    Oct 1 '12 at 17:26











  • HI @Alen - Thanks for your reply. The message I just got from trying to connect via ip was: Connected to XX.XXX.XX.XX. 421 Service not available, remote server timed out. Connection closed.

    – jnolte
    Oct 1 '12 at 17:33











  • Looks like something is blocking ftp connections between the client and the server, are you connecting from the client in the same subnet as the server, or are you going over some router or firewall. Also as I recall vsftpd is by default set to listen on port 20 not 21 check that, did you enable passive mode on vsftpd, and are you on the client using passive mode or active, what client are you using

    – rAlen
    Oct 1 '12 at 17:44

















hangs up and never connects in what way, do you maybe get a message like this "227 Entering Passive Mode...", are you trying to access your server from internal network or by the public IP

– rAlen
Oct 1 '12 at 17:26





hangs up and never connects in what way, do you maybe get a message like this "227 Entering Passive Mode...", are you trying to access your server from internal network or by the public IP

– rAlen
Oct 1 '12 at 17:26













HI @Alen - Thanks for your reply. The message I just got from trying to connect via ip was: Connected to XX.XXX.XX.XX. 421 Service not available, remote server timed out. Connection closed.

– jnolte
Oct 1 '12 at 17:33





HI @Alen - Thanks for your reply. The message I just got from trying to connect via ip was: Connected to XX.XXX.XX.XX. 421 Service not available, remote server timed out. Connection closed.

– jnolte
Oct 1 '12 at 17:33













Looks like something is blocking ftp connections between the client and the server, are you connecting from the client in the same subnet as the server, or are you going over some router or firewall. Also as I recall vsftpd is by default set to listen on port 20 not 21 check that, did you enable passive mode on vsftpd, and are you on the client using passive mode or active, what client are you using

– rAlen
Oct 1 '12 at 17:44






Looks like something is blocking ftp connections between the client and the server, are you connecting from the client in the same subnet as the server, or are you going over some router or firewall. Also as I recall vsftpd is by default set to listen on port 20 not 21 check that, did you enable passive mode on vsftpd, and are you on the client using passive mode or active, what client are you using

– rAlen
Oct 1 '12 at 17:44











1 Answer
1






active

oldest

votes


















0














The output to the netstat command looks like vsftpd is listening only on IPv6. To get it to listen on IPv4, try commenting out the line:



listen_ipv6=YES


and replace it with:



listen=YES


in your vsftpd.conf file.






share|improve this answer























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "2"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f433721%2fcannot-connect-to-vsftp-outside-of-network%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    The output to the netstat command looks like vsftpd is listening only on IPv6. To get it to listen on IPv4, try commenting out the line:



    listen_ipv6=YES


    and replace it with:



    listen=YES


    in your vsftpd.conf file.






    share|improve this answer



























      0














      The output to the netstat command looks like vsftpd is listening only on IPv6. To get it to listen on IPv4, try commenting out the line:



      listen_ipv6=YES


      and replace it with:



      listen=YES


      in your vsftpd.conf file.






      share|improve this answer

























        0












        0








        0







        The output to the netstat command looks like vsftpd is listening only on IPv6. To get it to listen on IPv4, try commenting out the line:



        listen_ipv6=YES


        and replace it with:



        listen=YES


        in your vsftpd.conf file.






        share|improve this answer













        The output to the netstat command looks like vsftpd is listening only on IPv6. To get it to listen on IPv4, try commenting out the line:



        listen_ipv6=YES


        and replace it with:



        listen=YES


        in your vsftpd.conf file.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 4 '12 at 15:50









        jkimjkim

        45639




        45639



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Server Fault!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f433721%2fcannot-connect-to-vsftp-outside-of-network%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

            What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

            Why did Thanos need his ship to help him in the battle scene?Which actor plays Thanos in the Avengers mid-credits scene?Are there economic implications portrayed in comics where the buildings and cities are ruined almost daily?Old X-Men comic where team travels to alien world with a ring-like sun that needs recharging?Why does Ego need help sleeping?Is there an objective answer to who “the strongest Avenger” is?How did Banner get unstuck?Why did Thanos get hit?How did Thanos (or anyone) know the Infinity Stones would give him this power?Did Thanos leave Eitri alive for his after-sales service?In Avengers 1, why does Thanos need Loki?