Go Back   Computer Forums > General Computing > Networking | DNS
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 05-16-2010, 03:07 PM   #1
Solid State Member
 
Join Date: Jun 2009
Posts: 11
Default Ftp

Ok, so my question is:

Let's say a friend of mine has an FTP server at his house, and I have FTP client software installed on my computer in my house, and we want to be able to share files through FTP.

So, he and I, of-course have our own ISPs, and these ISPs provide private IP addresses for our home networks. For example, his IP address is 192.168.1.101, and mine is 192.168.2.202.

Here is where I get confused. So in my FTP client software, I specify the FTP server that I want to connect to (Which is His), so I specify the IP address of 192.168.1.101. How in the WORLD would my FTP client software know that it is his server that I want to connect to, being that there are soooo many hosts with this private IP address (Private home networks, businesses etc..).

Thanks in advance
__________________

joe24 is offline   Reply With Quote
Old 05-16-2010, 04:16 PM   #2
Daemon Poster
 
Legodude522's Avatar
 
Join Date: May 2006
Location: Texas
Posts: 1,303
Default Re: Ftp

Those IP address are not your ISP provided addresses. That is your local IPs provided by your routers.

Go to http://www.ipchicken.com/ to find out your outside broadcasted IP.
__________________

__________________
PC: Intel i7 4790K, 16gb RAM, MSI R7 250 2gb
Phone: Apple iPhone 6s 64gb
Handheld Games: Nintendo 3DS XL, Tapwave Zodiac 2, GamePark Holdings GP2X F100
Legodude522 is offline   Reply With Quote
Old 05-16-2010, 05:14 PM   #3
Solid State Member
 
Join Date: Jun 2009
Posts: 11
Default Re: Ftp

That makes sense.

So I would specify the Public Address of the router and not of his computer right?

So if there are multiple computers on his home network, how will the router know which one is the FTP server?

Thanks again.
joe24 is offline   Reply With Quote
Old 05-16-2010, 05:15 PM   #4
Daemon Poster
 
Legodude522's Avatar
 
Join Date: May 2006
Location: Texas
Posts: 1,303
Default Re: Ftp

Quote:
Originally Posted by joe24 View Post
That makes sense.

So I would specify the Public Address of the router and not of his computer right?

So if there are multiple computers on his home network, how will the router know which one is the FTP server?

Thanks again.
Magic? I honestly don't know but afaik, it will figure it out. Just make sure the router's firewall is configured correctly.
__________________
PC: Intel i7 4790K, 16gb RAM, MSI R7 250 2gb
Phone: Apple iPhone 6s 64gb
Handheld Games: Nintendo 3DS XL, Tapwave Zodiac 2, GamePark Holdings GP2X F100
Legodude522 is offline   Reply With Quote
Old 05-16-2010, 06:06 PM   #5
Site Team
 
berry120's Avatar
 
Join Date: Jul 2009
Location: England, UK
Posts: 3,425
Default Re: Ftp

Quote:
Magic? I honestly don't know but afaik, it will figure it out. Just make sure the router's firewall is configured correctly.
Magic?!

You'll generally need to use port forwarding to get it to work correctly - there will be a section in your router config for this. You'll most likely be forwarding port 21 to the internal IP address where the server is based; that's how your router knows where the FTP server is located (well technically speaking it neither knows nor cares, just forwards all port 21 traffic, which is used for FTP, onto your server.)
__________________
Save the whales, feed the hungry, free the mallocs.
berry120 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 09:18 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0