Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
budrikOffline
15 Post subject: (solved) netcat: connection refused  PostPosted: 18.09.2012, 13:02



Joined: 2011-11-04
Posts: 11

Status: Offline
Hi *

are there any specific settings for netcat, i.e. ports/security restrictions or anything?

I tried to send a file like this:

listen:
netcat -l 1234 | tar xvpf -

send:
tar -cf - Folder/ | netcat IP 1234

This commands work on debian in the same network, so I guess it might be an aptosid specific issue.

Thanks for any help
 
 View user's profile Send private message  
Reply with quote Back to top
budrikOffline
Post subject:   PostPosted: 18.09.2012, 13:33



Joined: 2011-11-04
Posts: 11

Status: Offline
With -p it works! I think the default port is different among different distros Wink

netcat -l -p 1234 | tar xvpf -

works!
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio