I have configured vsftpd server on centos 7 and it is working pretty well on localhost (centos 7 machine). But when I'm trying to access that ftp server in a browser from a windows machine it is not working.

vsftpd is working on port no 21.

[root@centos ~]# netstat -tulpn |grep 21
tcp6       0      0 :::21      :::*                    LISTEN      29312/vsftpd

How to access it from a browser?

1 Answer 1


The grep output from ps indicates that vsftpd is indeed listening on port 21, but possibly only on IPv6. If your Windows machine (and ftp client) are not using IPv6, that could be the problem.

If your vsftpd.conf file contains a listen_ipv6 directive, comment it out. Make sure you have a listen directive.

  • I have commented # listen_ipv6=YES and one listen directive is set to ON, but still unable to connect. Jul 8, 2017 at 20:47
  • Have you just done this? If so, what is the netstat output now?
    – Bob Eager
    Jul 8, 2017 at 20:49
  • Here it is > tcp 0 0* LISTEN 32172/vsftpd Jul 8, 2017 at 20:53
  • Do you have a pasv_enable entry in vsftpd.conf? If so, it should probably be set to YES. If you don't have one, YES is the default so it's not a problem. Another question: when you say it doesn't work from Windows in a browser. what does 'doesn't work' actually mean? How does it behave? Have you tried it from a browser on the machine running vsftpd?
    – Bob Eager
    Jul 8, 2017 at 20:59
  • Yes it is accessible via browser on centos machine. But on windows it is asking password authentication, and after that it shows connection not established. Jul 8, 2017 at 21:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.