Solved

how can i connect to a server and connect using FTP

Posted on 2004-03-26
5
169 Views
Last Modified: 2013-11-29
My home and work computer is behind a network

Can i use these comp's to host a site, with IIS in the inetpub folder. What IP would you use to connect to the server from out side the network to view the site?

How could i connect to my work computer through FTP, i.e. what would the host name be and how would i get past the server of the network?

Thanks a million
0
Comment
Question by:chrisV
  • 3
  • 2
5 Comments
 
LVL 17

Expert Comment

by:dorward
ID: 10703735
You would need to use the public ip of the router AND configure the router to forward requests on the http and ftp ports to the computer running the server.
0
 

Author Comment

by:chrisV
ID: 10712423
..so how will the router know which server to forward requests to?

Say there are two servers on the network (and client comp's too), and the forward request is sent to the main IP address of the network. How would the router know to send the request to my computer? How do you distinguish the 2 computers?  

Thanks for the help
0
 

Author Comment

by:chrisV
ID: 10712432
It is FTP access from my home computer to my work computer, and vice versa,  that i am most concerned about...
0
 
LVL 17

Accepted Solution

by:
dorward earned 50 total points
ID: 10712439
> ..so how will the router know which server to forward requests to?

You would have to tell it

> Say there are two servers on the network (and client comp's too), and the forward request is sent to the main
> IP address of the network. How would the router know to send the request to my computer? How do you
> distinguish the 2 computers?  

Either through non-standard ports. (which would make the URL http://something:81/ instead of http://something/ for example), or though running a webserver on the router (which would mean you probably couldn't use an out of the box router, but would need a proper computer) that could forward the requests to different machines depending on whatever rules you set (e.g. http://something/foo/* goes to one machine, and everything else to another, or having multiple host names for the machine, so http://something/ goes to one machine and http://somethingelse/ goes to the other)..
0
 
LVL 17

Expert Comment

by:dorward
ID: 10712450
The ftp protocol doesn't include a host header, so ftp requests to different machines would have to be assigned through non-standard port numbers.

Come to think of it - ftp between two different machines both behind firewalls might not be possible - given that the protocol opens a control stream on variable port numbers so that file transfers and commands can be issued independantly. Passive ftp might do the job, but I have a feeling that it can't if both machines are behind firewalls.
0

Featured Post

Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question