![]() |
|
![]() | ||
|
Subject:
FTP connection behind a router
Category: Computers Asked by: ezgi-ga List Price: $2.00 |
Posted:
02 Dec 2005 20:47 PST
Expires: 02 Jan 2006 18:33 PST Question ID: 600766 |
Hi.. I have a router and using wireless network to share the internet in my house.. I have been trying to use an ftp server on my computer to be able to reach my computer remotely to transfer files.. I want to use a browser to reach my computer.. I have an ftp server on my computer which seems to be listening to the port 21.. I know it was not necessary but I have forwarded all the ports to my local ip address and enabled DMZ hosting for my ip in the router.. I still cant connect to my computer.. I can do it using my local LAN ip address which is useless.. I coulndt figure out what I am doing wrong......... |
![]() | ||
|
There is no answer at this time. |
![]() | ||
|
Subject:
Re: FTP connection behind a router
From: who3ver-ga on 02 Dec 2005 22:52 PST |
-Network Connections -Right click on wireless connection -Go to properties -Make sure the firewall option is not checked in the connection properties |
Subject:
Re: FTP connection behind a router
From: ezgi-ga on 03 Dec 2005 07:46 PST |
I am noy sure what you meant.. In the properties, in the advanced section there is only windows firewall and it is off... But in Windows Firewall settings, in the advanced section apparently firewall was enabled for all of my network connections.. I unchecked them all.. It still is not working.! |
Subject:
Re: FTP connection behind a router
From: anoopshukla-ga on 03 Dec 2005 08:14 PST |
Are you able to access your machine (any port, ping?) from the other network? |
Subject:
Re: FTP connection behind a router
From: ezgi-ga on 03 Dec 2005 09:10 PST |
What do you mean by the other network?! When I type ftp://ipaddress:port , ipaddress being my LAN ip and port being 21, I can connect my computer.. I havent tried it from other computers in the network.. When I use my router's ip instead of my LAN ip it doesnt work.. Again I havent tried it from other computers.. |
Subject:
Re: FTP connection behind a router
From: scrambledheads-ga on 03 Dec 2005 10:15 PST |
you won't be able to access your pc on your local network in the same that you do from outside until you modify your "hosts" file. It is very easy though, get the internal IP of the computer with FTP Server on (do this by clicking Start then clicking Run then type "cmd" or "command" without the "", then type "ipconfig" again without the speechmarks you should get something up that says along the lines of 192.0.0.2 - this is your IP) now on the pc you want to ftp from do a search for "hosts" (C:\WINDOWS\system32\drivers\etc" in Win XP; when you have found it open (you will need to use "open with") it in Notepad you should see something like # Copyright (c) 1993-1999 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. etc at the bottom of this file create a new line and type the IP address you found earlier followed by whatever you will use to access it externally eg 192.0.0.2 myExternalFtpAddress.com You will now be able to see this in the same way as everyone else can on the Internet. :) |
Subject:
Re: FTP connection behind a router
From: ezgi-ga on 03 Dec 2005 17:42 PST |
I dont understand why I need to do these stuff.. Is it that difficult to connect a computer, which has an ftp server installed on it, using a browser?! I havent tried it on other computers in the my local network but I am sure it works just fine.. The problem is I wont be able to reach it outside the network.. I want to be able to reach it from anywhere I want, including the university computers on which only the browser can be used.! |
Subject:
Re: FTP connection behind a router
From: clayfair-ga on 06 Dec 2005 02:00 PST |
Hello, an optional for you. If you just want to use the FTP to sharing file between your pc, why don't you try a software named "wwwFileShare" http://www.wfshome.com/ . It act as an FTP and let you to download and upload data ^^ |
Subject:
Re: FTP connection behind a router
From: eternal85-ga on 07 Dec 2005 10:12 PST |
You need to use the WAN IP address instead of the local one. 192.168 address are reserved for internel use through NAT. To find out the actual IP address of yoru router that is visable to the world, you need to access it though a web browser inside your network and get the IP address that way. It will be labled as the WAN ip address. |
Subject:
Re: FTP connection behind a router
From: ezgi-ga on 07 Dec 2005 11:45 PST |
I know my router's ip address.. I tried it and it doesnt work.. Even my local ip address doesnt work within the network.. When I try my local ip it asks for the password I put but even though I enter the right password I cant get permission.. When I try it with my router's ip it doesnt even ask for the password, I just dont get permission.. The only thing that works is when I try to connect the computer from itself.. I enter my own local network ip on this computer and it asks for the password, then I get permission... |
Subject:
Re: FTP connection behind a router
From: ioo-ga on 08 Dec 2005 12:10 PST |
My advice: 1. disable the personal firewall (at least temporarily) 2. for testing purposes use command line and ftp command - this will show you if you can connect to ftp service at all or not (you should be able to see a welcome banner). Also let us here know if the problem is with connecting or logging in :) 3. "enabled DMZ hosting for my ip in the router" sounds misterious to me. Make sure you need this option. Launching the FTP service and redirecting TCP 21 on the router should be all you need. 4. Make sure you use static addresses (both on your "server" and external router interface). 5. For connections within LAN use local address (bypassing the router) and for connections from Internet use routers address. Dont mix these addresses or thez wont work. |
Subject:
Re: FTP connection behind a router
From: ezgi-ga on 08 Dec 2005 17:28 PST |
I called a friend to try it and it worked fine.. He entered the username and password and he could transfer files.. The interesting thing is it doesnt completely work in my local network.. Thats why I didnt try it outside the network since I thought if it doesnt work inside, it wouldnt work outside.. It is actually possible that it was working even before I asked the question.. I had thought that I could try using my router's ip on a computer in my network and get the same result as I was using a remote computer.. Well it seems that I am wrong and I wonder why?! The reason I said it doesnt completely work in the network is that the other computer can log in using the command line but when we use the browser it just asks for the password but doesnt give permission.. Why would that be?! Also from your message I get the idea that port 21 in the router has to be forwarded for that purpose.. What if another computer in the network wants to install an ftp server too?! |
Subject:
Re: FTP connection behind a router
From: bluecrystal-ga on 08 Dec 2005 19:59 PST |
For your last problem you can log in your router ,and you can in virtual server set page (may is the name) set the port which is for remote user use ftp cient,and the ip and port of the ftp server which in local. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |