This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

FTP connection not working.
#1
FTP connection not working.
Hello,

I have installed Sentora on my vps I have done the firewall.

Using


iptables -A INPUT -p tcp -m state --state NEW,ESTABLISHED -m tcp --dport 22 -j ACCEPT
iptables -A INPUT -p udp -m state --state NEW,ESTABLISHED -m udp --dport 80 -j ACCEPT 
iptables -A INPUT -p tcp -m state --state NEW,ESTABLISHED -m tcp --dport 53 -j ACCEPT 
iptables -A INPUT -p tcp -m state --state NEW,ESTABLISHED -m tcp --dport 80 -j ACCEPT 
iptables -A INPUT -p udp -m state --state NEW,ESTABLISHED -m udp --dport 53 -j ACCEPT 
iptables -A INPUT -p tcp -m state --state NEW,ESTABLISHED -m tcp --dport 20 -j ACCEPT 
iptables -A INPUT -p tcp -m state --state NEW,ESTABLISHED -m tcp --dport 21 -j ACCEPT 
iptables -A INPUT -p tcp -m state --state NEW,ESTABLISHED -m tcp --dport 25 -j ACCEPT 
iptables -A INPUT -p tcp -m state --state NEW,ESTABLISHED -m tcp --dport 110 -j ACCEPT 
iptables -A INPUT -p tcp -m state --state NEW,ESTABLISHED -m tcp --dport 143 -j ACCEPT 
iptables -A INPUT -p tcp -m state --state NEW,ESTABLISHED -m tcp --dport 443 -j ACCEPT 
iptables -A INPUT -p tcp -m state --state NEW,ESTABLISHED -m tcp --dport 3306 -j ACCEPT


[Image: b62339a46911fd0ea36053ba130de073.png]


The error which I get is:



Connection attempt failed with "ECONNREFUSED - Connection refused by server".


Error: Could not connect to server


I dont know if i need to setup anything else for this to work.

Ftp account i created is for root directory on sentora and I dont know if it make a difference that nameservers are not complete yet ?


Thanks in advance. 
Reply
Thanks given by:
#2
RE: FTP connection not working.
Root directory on Sentora? This is not possible if you created the FTP account inside Sentora using the FTP module (each user ftp account is locked down to their hosting folder only). If you need to access anything else outside of the user's hostdata folder you should be using SSH. Your clients should never have access to SSH or any folder outside of their own hostdata folder.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Add on Domains not working but Main domain works luckyviet 2 6 ,370 03-18-2020, 07:38 PM
Last Post: AanaNahum
working on single domain bahabi 1 4 ,838 08-27-2019, 12:06 AM
Last Post: TGates
DNS Stopped Working hthiers 3 7 ,735 05-10-2019, 06:00 AM
Last Post: hthiers

Forum Jump:


Users browsing this thread: 2 Guest(s)