Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More specific working example #1

Open
akaustel opened this issue Sep 26, 2014 · 6 comments
Open

More specific working example #1

akaustel opened this issue Sep 26, 2014 · 6 comments

Comments

@akaustel
Copy link

I have spent some hours trying to get this thing to work, without success. Tried to set up the file sharing example, and add some console.logs to understand where it goes wrong.

Here is my setup. And the output from the processes. Everyone is run on separate machines, but client and server are behind the same NAT.

Mediator

# node mediator.js -p 5000
Registered a0af11ac, from host 194.140.150.160

Server

# node app.js -m 194.142.159.165:5000 -f ~/Documents/test.txt
Requesting to register a0af11ac
Got request to talk to remote host at 194.140.150.160, 51036
Sending the file /home/akaustel/Documents/test.txt 1588 bytes (sending 1596 bytes)

Client

# node app.js -m 194.142.159.165:5000 -t a0af11ac
Requesting to talk to a0af11ac
Got request to talk to remote host at 194.140.150.160, 48317
Just waiting on a file.

I would be very happy to get some pointers to get this working!

@hoffmabc
Copy link

hoffmabc commented Jan 7, 2015

@akaustel did you get this working?

@akaustel
Copy link
Author

@hoffmabc sorry to say, but no, I did not get it to work. Dealing with the same kind of problem? I might still need this, but currently working on other things.

@mvayngrib
Copy link
Contributor

if you're still looking for examples, I've been using this in a p2p chat app: zlorp

@shovon
Copy link
Owner

shovon commented May 12, 2015

@mvayngrib that's actually pretty cool.

@shovon
Copy link
Owner

shovon commented May 12, 2015

@akaustel I'll take a look at what's the issue. Sorry it's taking so long.

@mvayngrib
Copy link
Contributor

no worries. I hacked around the problems I had, master...mvayngrib:master but I think you probably know a better way to do it

and thanks for making this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants