LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ftp connection refused (https://www.linuxquestions.org/questions/linux-networking-3/ftp-connection-refused-3713/)

charkym 06-26-2001 11:12 AM

ftp connection refused
 
I have A redhat linux 7.0 installation.
I can ftp from any other redhat, unix workstation no problem.
When I try to ftp from a windows.dos pc i get the connection refused

does anyone no the answer to my problem ?

jrmann1999 06-26-2001 03:21 PM

Are the other redhat/unix machines on the same subnet as the Redhat PC? If this is true, is the windows machine on the same subnet? Have you disallowed any addresses, or even played with your security settings? A bit more info would be helpful.

J

LionKing 06-26-2001 03:29 PM

check out the settings in: /etc/xinet.d/wu-ftped
Mine looks like bellow, only allow connection from IP address
192.168.1.61, you can trust the whole local net if you wish, just modify so it look something like this "only_from = 192.168.1.0/24"
If you still get connection refused, then edit your /etc/hosts file and put your Windoze machine's IP address there, because that's likely the ftp server unable to resolve the incoming ip, this is common if you are on private IPs.
service ftp
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.ftpd
server_args = -l -a
log_on_success += DURATION USERID
log_on_failure += ATTEMPT HOST RECORD USERID
nice = 10
only_from = 192.168.1.61
}


All times are GMT -5. The time now is 12:54 PM.