TechSpot

FTP/Networking

By electricvoices
Aug 31, 2006
  1. I have both my PC & my laptop set up on a small home network & I can share files between the both of them fine, even the printer sharing works perfectly. However, I'm using Serv-U to host an FTP site & from both my PC & my laptop I can access the FTP site using my username/password fine on both computers. However, when I step outside my home network onto another PC I cannot log into the FTP site & I know the server is running & up. Any ideas on this?
     
  2. jobeard

    jobeard TS Ambassador Posts: 13,474   +329

    what msg(s) occur when you attempt to login?
    site not found or user/passwd invalid?
     
  3. Ididmyc600

    Ididmyc600 TechSpot Chancellor Posts: 2,251


    Hi

    I tried setting up Serv-U and couldnt even get as far as getting a working FTP site, I did once have it setup a while back before I invested in a Router , so I think that may have been the problem.

    As a suggestion, if your using a Router, have you opened the right ports, I think you have to set something called "Port Forwarding", this allows computers outside of the LAN to get past the routers firewall settings.

    Regards
     
  4. jobeard

    jobeard TS Ambassador Posts: 13,474   +329

    Port Forwarding is needed for the inbound connection on the FTP server, and ONLY port 21 is needed (the user must then use a PASSIVE connection).

    outbound connections to any server do not need nor benefit from port forwarding
     
  5. electricvoices

    electricvoices TS Rookie Topic Starter Posts: 27

    I do have troubles using Serv-U with port 21, it says that it can't listen on that port because it's already in use, but i have no idea what it could be in use by... i know i have the passive mode set up on my internet settings & i believe so on my ftp setting (i will have to double-check, but i'm pretty sure)... Since i've disabled the anonymous login i have to type the ftp address in (outside of my LAN) as ftp://"user name"@"ftp address":"port number"/... i have a wireless internet network connection set up on my LAN, i'm using a Linksys WRT54G router... i have never heard of Port Forwarding before...
     
  6. electricvoices

    electricvoices TS Rookie Topic Starter Posts: 27

    sometimes i will get the "server down" error & sometimes i will get the "connection timed out" error...
     
  7. Ididmyc600

    Ididmyc600 TechSpot Chancellor Posts: 2,251


    Did I mention anything about outbound connections Jo? I said he would need to open his router for him to connect from outside the LAN.
     
  8. Ididmyc600

    Ididmyc600 TechSpot Chancellor Posts: 2,251

    Hi

    That's OK neither had I until I got a router, have a look at this guide I found
     
  9. jobeard

    jobeard TS Ambassador Posts: 13,474   +329

    your ISP can be blocking it. Did you purchase a hosting contract or are you
    trying to run FTPD from a personal account? EULA typically prohibit this :(
    and the blocking of server ports (20,21,25,80,443,8080) are typical.
    this looks like a hosted environment w/o a domain being purchased. if you had a domain, then you should be able to use
    ftp : //ip-address:"port number"/ ...ur LAN ip address which has the FTPD running​
     
  10. electricvoices

    electricvoices TS Rookie Topic Starter Posts: 27

    So is this thing another program to download?
     
  11. electricvoices

    electricvoices TS Rookie Topic Starter Posts: 27

     
     
  12. Samstoned

    Samstoned TechSpot Paladin Posts: 2,582

    try filezilla free
    but here's what I do maybe theres better way I don't know
    on ftp server need your wan ip address plus need to open a port in router like
    8080 or what ever keep it high
    this is waht the server config looks like
    Code:
    71.45.123.123:8080/
    read u-serve manual may show where this is put
    PS
    I tried u-serve did not work well for me
    I used filezilla when I had a home server
    to reg a domain go to godady.com ,my choice, :))hand
    when you get it they have a place to setup DNS records add your wan IP if it stays static yor OK if not go to mydns and reg with them
    then your ftp will be like
    Code:
    ftp://joesftp.com:8080
     
  13. jobeard

    jobeard TS Ambassador Posts: 13,474   +329

    Ok, but you are in conflict with your agreement to the ISP.
    You are NOT allowed to run any server software; beware, they may shut you down.
    They can monitor your bandwidth consumption and detect that something
    is going on -- and will investigate to find the FTP protocol.

    configure your FTPd to use any port above 1024; eg 10021
    then port forward 10021 in your router to your LAN address

    access will then be

    ftp $your-public-ipaddress:10021​

    $your-public-ipaddress will be found in your router,
    and you will need a userid/password for each person to access it
     
  14. electricvoices

    electricvoices TS Rookie Topic Starter Posts: 27

    So all in all, the best way to go is to just buy a domain site... i get that... i'll do that asap since it's cheap anyways... but my real question is why can't i access my ftp site from any other pc outside of my home lan?
     
  15. jobeard

    jobeard TS Ambassador Posts: 13,474   +329

    two major reasons:
    1) your system is not properly configured
    and/or
    2) your ISP is blocking the default port(s)
     
  16. electricvoices

    electricvoices TS Rookie Topic Starter Posts: 27

    if it's the set up that i have then they're probably blocking the things i need to
     
  17. Samstoned

    Samstoned TechSpot Paladin Posts: 2,582

    I have run a server for over 4 yrs never shut me dwn dsl and cable
    they don't care
    want the do care bout is virus's and spyware
    thats why they keep the ports 80 20 21 53 locked
    I have been told by some they got around this by port forward there 8080 to port 80 on the wan ip address I have not tried this
    I don't think yo uwil ever be shut dwn by your isp
    you use more bandwidth in dwn ld and what not
    just check your net status for 1 day
    my talks with cable and dsl techs have lead to some helpful hints on gettting servers to work at home just don't push" I'm at home thing" alot.
    and remember to you as a server your uploading
    that is only a max of 658kb/s on most cable dsl is slower
     
  18. jobeard

    jobeard TS Ambassador Posts: 13,474   +329

    yes, I've run a server or two from time to time to show a client some work
    performed at home. Even w/o a registered domain name, you only
    need,
    your public ip-address,
    your system service conf'd for a 'non-official' port
    .[(80-moved to 10080 for example. btw: 8080 is official for Java JSP service),
    AND your router port-forwarding to the machine-lan-ip:port.

    as long as traffic is trivial, you're right, no one cares.

    but try counting the minutes you survive with some P3P file sharing service
    and 1/2 of the world clamoring to get to your files! you will stand out like
    a sore thumb and the will intervene -- I promise. the bandwidth will be very
    high for data flow FROM your service -- ie upload and that will be the trigger.
     
  19. Samstoned

    Samstoned TechSpot Paladin Posts: 2,582

    I used 8080 all the time and people still use it don't know anything bout java port 8080
    I used to sell a lot on ebay with huge images I could here the server getting hammered was never shut off or warned about it
    I asked techy
    he did not even care again if i can dwnld 30 gig a day and up load same to any ftp server how does that effect a home server and your isp shutting you dwn cause of your bandwidth no way
    p2p is not the same thing
     
  20. jobeard

    jobeard TS Ambassador Posts: 13,474   +329

    I do because I program that stuff.
    Also 8080 is used for remote router control
    contrat's to you -- just because you've gotten away with it doesn't make it ok nor void your End User License Agreement with the ISP ( and most people don't even read it ). PEACE be with you. I'm no longer subscript to this thread.
     
  21. Samstoned

    Samstoned TechSpot Paladin Posts: 2,582

    thats to bad you may learn something
    here is the
    data on port 8080 IANA registration
    nothing to do with java protocal unless you want it to
    http-alt 8080/tcp HTTP Alternate (see port 80)
    http-alt 8080/udp HTTP Alternate (see port 80)
     
  22. jobeard

    jobeard TS Ambassador Posts: 13,474   +329

    that's true for all port usage.
    one can config FTP to use port 80 and a web server to use port 21.

    let's just agree to disagree. if need be, I concede you're right and let's get back
    to solving real problems.
     
Topic Status:
Not open for further replies.


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.