Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Conceptually my problem looks like this: I got one web site on VPS with one dedicated IP (Ubuntu Linux). This site accepts files from user, which are to be processed in some way on other computer. So I placed a script on my site server: it prepares files (collects metadata and archive the files) and can send it to some IP via http protocol (curl utlilte).

On the other end of the connection my other program accepts incoming requests (Win7 + C# + HttpListener) and process income files. The result is sent to S3 storage.

What is the easiest way to establish connection between 2 computers so they could access the internet each through their own connection and to be accessible for each other through their IP?

I'm a newbie in networking so I suppose that there's no "easiest way"

share|improve this question

2 Answers 2

If they are both on the same router to get to the internet, chances are they can already talk to each other as they'll be on the same network with the same IP scheme. If they are on separate routers or running old skool 56k modems from each, you can run a crossover cable between the two machines via the network cards.

share|improve this answer
    
I got a VPS in cloud service (Hetzner - to be specific). No way physically contact web-site machine –  Roaring Stones Jun 7 '13 at 10:05

You can declare the Ubuntu PC as server and then start a service like samba with cifs (http://en.wikipedia.org/wiki/Samba_%28software%29), join the same workgroup as the Windows PC. Or start a sshd (http://en.wikipedia.org/wiki/Secure_Shell) to access the shell with putty (http://en.wikipedia.org/wiki/PuTTY). Finally a vsftp daemon for filetransfer (http://en.wikipedia.org/wiki/Vsftpd).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.