0

I am receiving the EACCES Permission denied Could not connect to server. while in my ubuntu system i am able to connect

Status: Connection attempt failed with "EACCES - Permission denied".
Error:  Could not connect to server
Status: Waiting to retry...

Debug Log

2015-03-14 14:42:22 3764 1 Status: Resolving address of www.weshiksha.com
2015-03-14 14:42:22 3764 1 Status: Connecting to 54.68.173.216:21...
2015-03-14 14:42:22 3764 1 Status: Connection attempt failed with "EACCES - Permission denied".
2015-03-14 14:42:22 3764 1 Trace: CRealControlSocket::OnClose(13)
2015-03-14 14:42:22 3764 1 Trace: CControlSocket::DoClose(64)
2015-03-14 14:42:22 3764 1 Trace: CFtpControlSocket::ResetOperation(66)
2015-03-14 14:42:22 3764 1 Trace: CControlSocket::ResetOperation(66)
2015-03-14 14:42:22 3764 1 Error: Could not connect to server
2015-03-14 14:42:22 3764 1 Trace: CFileZillaEnginePrivate::ResetOperation(66)
2
  • 1
    This isn't a whole lot of information for someone to try to diagnose the specifics of your problem.
    – fixer1234
    Mar 14, 2015 at 8:41
  • Can you edit your post to include the filezilla debug logs? Level 3 or 4 debug? Logging in FileZilla
    – DavidPostill
    Mar 14, 2015 at 8:53

2 Answers 2

1

Connection attempt failed with "EACCES - Permission denied".

Something is blocking the ftp connection.

A normal connection would look like:

2015-03-14 14:42:22 3764 1 Status: Resolving address of www.weshiksha.com
2015-03-14 14:42:22 3764 1 Status: Connecting to 54.68.173.216:21...
2015-03-14 14:42:22 3764 1 Status: Connection established, waiting for welcome message...

Please check your firewall/router/proxy/antivirus settings to make sure nothing is blocking ftp traffic.

1

Here's a little checklist I go through to debug: More often than not its a simple thing, try temporarily disabling your firewall or security for a test. then put it back. just so you can figure out what area or narrow down the possibilities here. Internet security's probably a good first start.

Do you have access to your port configuration on your gateway or network? Depends on carrier but usually accessible from 192.168.1.1 or 192.168.0.1 some 127.0.0.1, type that into your browser and tell me if you found your gateway. I've had this issue, it's also been an array of different issues that have caused this for me,

  1. If connecting to host or server closely check instructions on Username/Password/Settings — Typing in incorrect credentials and settings have been my number one reason, and the format in which I do that with add-on domains in particular
  2. Security/firewalls
  3. Router or port configs

I believe last time I fixed it with allowing the FTP port specified in one case then opening an ftp port that was closed in my router configuration. It wasn't my firewall that time, but in the past I've seen that too.

Perhaps white list your IP that you are attempting to connect to --

  • which it should say after you attempt to connect in the activity log, it should read it back as 'Connecting to... xxx.xxx.xx.xxx:21 usually for FTP' but many carriers are moving away from the standard FTP port.

    it's IP address instead of domain - check the log, and make sure that on the other side of that connection (perhaps a hosting site) that you dont have security settings that are accidentally blocking your client machine ip with a "block all but" or "whitelist only these specific ips" in your configuration, if they are then add your IP to the appropriate whitelist or change your settings to what you believe is most suitable for your security needs.

    Also, if you have a way to configure such things on your host, I would recommend whitelisting your client PC IP (if possible) depends on your host and/or what you're connecting to and if you almost always connect from that machine or vm.

  • Make sure you have the correct settings for connecting, I've misconstrued my settings before and gotten this response, I wasn't appropriately connecting to my subdomain/add-on domain properly. some hosts require ftp://[email protected], port number (usually 21, no always, in fact, GoDaddy I dont think even requires a port number but it'll automatically add the standard port config number so check your hosts' ftp settings, your ftp user credentials (even add or change them if needed so you KNOW you have them correct, and then check the format for add-on domains if thats what you're trying to do otherwise ftp://yourdomainname.com in Host then those Creds in Username and Password and you should be set, or with subdomain it'll often prompt for password when set to normal if you use Site Manager to add sites

I'll update shortly once I fix mine to let you know what it is that fixed mine. Do you need any special connection like SFTP or FTPS/SSH — also depending on provider you may not be able to connect to it via SSH like A2 Hosting even though it allows for Node.js and other capabilities that run together with ded. access.

If you can give me a bit more info I could probably tell you exact solutions, but for now, I know that these are something you should absolutely check first, especially the way you're trying to login, I've messed that up more thinking I'm doing it correctly then messing it up just slightly. Some hosts are more picky than others.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .