Remote server connection problem

agasar

Verified User
Joined
May 16, 2021
Messages
71
I am trying to connect to remote server. I get the following error. How do i solve the problem.

connect to ip.xxx:49152 failed: Connection refused.
connect to ip.xxx.196:53461 failed: Connection refused.
connect to ip.xxx:57526 failed: Connection refused.
Falling back to PORT instead of PASV mode.
Transfer failed. Check the path value. (error=3)
FTP information invalid.
 

Attachments

  • uzak1.png
    uzak1.png
    20.3 KB · Views: 147
Did you check if your DirectAdmin firewall is blocking the ports that it is trying to use? (Got me on every new install before I moved to ssh)
 
To see if the firewall is blocking it, I would recommend to completely turn it off and then try again to see if it works.
 

Attachments

  • 805C5CCC-4975-4C3B-8A01-7D074756CC9D.jpeg
    805C5CCC-4975-4C3B-8A01-7D074756CC9D.jpeg
    958.2 KB · Views: 225
I don't want to turn off the firewall. Because I can attack. But I have a second server. Same setting as the ratio's sunroof wall settings. I can access from my other server. There is a different situation. "Firewall configuration" settings are the same settings. I can connect from that server, but not from that server.
 
I can connect via FTP. There is a login from FTP. Connection cannot be made via the Directadmin panel. The directadmin will transfer the backups to the backup server on a weekly basis.
 
I can connect via FTP. There is a login from FTP. Connection cannot be made via the Directadmin panel. The directadmin will transfer the backups to the backup server on a weekly basis.
From what I can read from the error, there seems to be an issue with the path.
 
Where is the folder you are referring to? Tell me the full path to the folder and I'll take a look. Where is the path folder.
The problem (from what I can see from the error) is that the path you provided is invalid or the ftp user has not the proper permission to see that path.
 
This is what I read from the beginning:
1.) Connection refused
2.)
Code:
Falling back to PORT instead of PASV mode.

So as far as I can see, you won't even get to any path, because there is no login yet because the connection already got refused.

I am trying to connect to remote server.
Now you have to clarify this. Are you trying to create a connection from your server to an outside server?
And is that log part you're showing from your server, or from the external server?

And if you're trying to connect to a remove server from your DA server. Exactly how are you trying to achieve this? Which command and how?
 
I'm having trouble connecting to the external backup server. I can connect via FTP. But I can't connect via DA server.

connect to 157.90.87.196:49152 failed: Connection refused.
connect to 157.90.87.196:53461 failed: Connection refused.
connect to 157.90.87.196:57526 failed: Connection refused.
Falling back to PORT instead of PASV mode.
Transfer failed. Check the path value. (error=3)
FTP information invalid.
 

Attachments

  • a1.png
    a1.png
    43.2 KB · Views: 182
You send me a pm. As you can read from the pm, I don't have any issues connecting either via FTP or directadmin.

In directadmin I don't change the path, just let it stay at / which is the default.
With that setting, backup is made without issues.

Then I just tested with the path. Just done it so that is not in the pm, also succeeded without issues.

In the PM I wrote to you which ports should be opened outgoing, check if they are open in your csf.conf file.

Also, try again -without- the trailing slash at the directory. So don't use /siteler/ but use /siteler instead.
 
I was able to solve the problem in the end and I succeeded as a result of long efforts.

CSF 'open the

"ConfigServer Security & Firewall"

Firewall Configuration - Click

add them in

TCP6_OUT: 35000:65535
 
Back
Top