Solved

how can i connect to a server and connect using FTP

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

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.
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…
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…

809 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