Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 174
  • Last Modified:

how can i connect to a server and connect using FTP

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
chrisV
Asked:
chrisV
  • 3
  • 2
1 Solution
 
dorwardCommented:
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
 
chrisVAuthor Commented:
..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
 
chrisVAuthor Commented:
It is FTP access from my home computer to my work computer, and vice versa,  that i am most concerned about...
0
 
dorwardCommented:
> ..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
 
dorwardCommented:
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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now