FTP server issue

Peter_1985 2,526 Reputation points
2021-12-22T09:36:44.173+00:00

Hi,
I added the relevant role and feature on Win 2019 server but I've issue below to FTP server. Any help?
159642-22a.png

Internet Information Services
{count} votes

7 answers

Sort by: Most helpful
  1. Limitless Technology 39,376 Reputation points
    2021-12-22T14:01:04.94+00:00

    Hi @Peter_1985

    Disable firewall and antivirus software temporarily to make sure your access would not be blocked.
    According to the error message, I suspect the issue might be caused by your access right. Make sure you have the access privilege.

    Opening Ports in the Firewall
    https://learn.microsoft.com/en-us/previous-versions/sql/sql-server-2008/ms345310(v=sql.100)?redirectedfrom=MSDN

    Enabling Protocols
    https://learn.microsoft.com/en-us/previous-versions/sql/sql-server-2008/ms345306(v=sql.100)

    Hope this resolves your Query!!

    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments

  2. MotoX80 31,826 Reputation points
    2021-12-22T15:45:20.277+00:00

    What should be enabled to resolve the current problem?

    You first have to figure out what the problem is before anyone can tell you how to fix it.

    Do you honestly think that forum users somehow "know" what might be wrong with your DNS/Network/Servers/permissions/firewalls, based on a popup that simply says; "unable to connect"??? That's not how this works. You have to do basic the problem determination. We can't access your systems to do that for you.

    Open command prompt, run ftp.exe, try to connect to the server. Do you get a login prompt? Start there.

    0 comments No comments

  3. Bruce Zhang-MSFT 3,736 Reputation points
    2021-12-23T02:59:20.957+00:00

    Hi @Peter_1985 ,

    Please use cmd to test what error you met. Open cmd and enter command ftp, then open xxx.xxx.xx.xxx (open ftp IP). It will ask you for user name and password. If you enter the correct account but connect failed. It will return error code and message. Please show the code and message.

    When I followed the link to test ftp, it returned 503 error that I don't have permission. I checked the link again and found an issue.

    At this part How to add FTP virtual directory and add permission, it asks you to disable inheritance and add FTP_GROUP account. I'm not sure how your server set permission, but when you follow this step, you need to make sure that the FTP_GROUP account has permission to read or write root folder. Otherwise it cannot read sub folder even you have set its permission. That means( in the case of link), account jamil should have permission read or write( full control better) to folder FTP and jamil.
    159933-1.jpg


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,
    Bruce Zhang


  4. MotoX80 31,826 Reputation points
    2021-12-23T14:11:41.803+00:00

    I get "Connection refused" by the way, like cmd > ftp > open my.ip.add.ress

    RDP to the server itself.
    Open the IIS Manager app.
    Navigate to the FTP site and click on FTP Logging.
    In the Action pane on the right side, if it says "enable", then you do not have logging enabled. Click on enable.
    Open services.msc
    Navigate to the Microsoft FTP Service and verify that it is running.
    Open a command prompt and run ftp to connect to the server itself.
    Log in to the ftp site and run a dir command to verify that you can see the directories.
    See if there are log files in C:\inetpub\logs\LogFiles\FTPSVCn. They should show the activity that you just did.
    Then RDP to another machine on THE SAME NETWORK SUBNET that the server is on.
    Open a cmd prompt and run ftp and connect to the server.

    If you still get connection refused, then the problem is the firewall rules on the server that hosts FTP. Go back to the server and run wf.msc. Check the inbound rules for one that references FTP. Fix it to allow access.


  5. MotoX80 31,826 Reputation points
    2021-12-24T15:32:41.98+00:00

    Is this question related to the question that you posted earlier?

    https://learn.microsoft.com/en-us/answers/questions/657500/share-path-on-win-server.html

    Are you trying to connect to FTP over the internet? Don't do that. FTP is not secure. And its data and control channel connections require PASV mode if you have a network firewall (which you should have!) protecting the server.

    It would be more secure if you configured the OpenSSH feature and used SFTP for any file transfers over the internet.

    0 comments No comments