Solved

how can i connect to a server and connect using FTP

Posted on 2004-03-26
5
166 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Join & Write a Comment

Suggested Solutions

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now