ftp: connect :Connection refused - Redhat

This is a discussion on ftp: connect :Connection refused - Redhat ; I am new to Linux (in this case Fedora 3) and am slowly working my way thru the basics. Right now I am just trying to ftp into my linux box from the same lan segment. Two machines (win2k:192.168.1.47 and ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: ftp: connect :Connection refused

  1. ftp: connect :Connection refused

    I am new to Linux (in this case Fedora 3) and am slowly working my way thru
    the basics. Right now I am just trying to ftp into my linux box from the
    same lan segment. Two machines (win2k:192.168.1.47 and FC3:192.168.1.100)
    are connected to the same hub. When I 'ftp 192.168.1.100' from 192.168.1.47,
    I get "> ftp: connect :Connection refused"

    If I point a browser at 192.168.1.100 I get served the index.html file in
    /var/www/html.... just as I expected.

    Why? What's wrong with FTP?

    Dave



  2. Re: ftp: connect :Connection refused

    Dave wrote:

    > I am new to Linux (in this case Fedora 3) and am slowly working my way
    > thru the basics. Right now I am just trying to ftp into my linux box
    > from the same lan segment. Two machines (win2k:192.168.1.47 and
    > FC3:192.168.1.100) are connected to the same hub. When I 'ftp
    > 192.168.1.100' from 192.168.1.47, I get "> ftp: connect :Connection
    > refused"
    >
    > If I point a browser at 192.168.1.100 I get served the index.html file
    > in /var/www/html.... just as I expected.
    >
    > Why? What's wrong with FTP?


    Do you have an ftp server installed??? Have you opened the port for the
    ftp server in iptables??


    --
    Contained within the Microsoft EULA;
    This Limited Warranty is void if failure of the Product has resulted
    from accident, abuse, misapplication, abnormal use or a virus.

  3. Re: ftp: connect :Connection refused

    On Fri, 30 Sep 2005 03:08:53 +0000, Dave wrote:

    > I am new to Linux (in this case Fedora 3) and am slowly working my way thru
    > the basics. Right now I am just trying to ftp into my linux box from the
    > same lan segment. Two machines (win2k:192.168.1.47 and FC3:192.168.1.100)
    > are connected to the same hub. When I 'ftp 192.168.1.100' from 192.168.1.47,
    > I get "> ftp: connect :Connection refused"
    >
    > If I point a browser at 192.168.1.100 I get served the index.html file in
    > /var/www/html.... just as I expected.
    >
    > Why? What's wrong with FTP?
    >
    > Dave

    There are 3 levels that you have to get through between being able to
    connect to the computer to getting a login prompt. First, as root type

    iptables -L

    Make sure that the ftp port is open for traffic from the LAN.

    Second, examine /etc/xinetd.d/gssftp or some similar file in this
    directory ( grep ftp /etc/xinetd.d/* ). It controls when the ftp daemon is
    run. Make sure the disable line is set to "no". The default is usually set
    to "yes".

    Third, have you installed a ftp server program? Install one if one is not
    present.

    Now all you have to do is add your username and password to those allowed
    by the ftp server.

    Good luck.



  4. Re: ftp: connect :Connection refused

    Dave wrote:
    > I am new to Linux (in this case Fedora 3) and am slowly working my way thru
    > the basics. Right now I am just trying to ftp into my linux box from the
    > same lan segment. Two machines (win2k:192.168.1.47 and FC3:192.168.1.100)
    > are connected to the same hub. When I 'ftp 192.168.1.100' from 192.168.1.47,
    > I get "> ftp: connect :Connection refused"
    >
    > If I point a browser at 192.168.1.100 I get served the index.html file in
    > /var/www/html.... just as I expected.
    >
    > Why? What's wrong with FTP?
    >
    > Dave
    >
    >


    The first question is: Do you have a ftp server running on 192.168.1.100 ?

    I'm not familar with FC3 but I suspect it doesn't start by default. Run
    serviceconf and start it.

    /dan



+ Reply to Thread