Author |
Message |
budrik
|
|
|
Post subject: (solved) netcat: connection refused
Posted: 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 |
|
|
|
|
 |
budrik
|
|
Post subject:
Posted: 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
netcat -l -p 1234 | tar xvpf -
works! |
|
|
|
|
 |
|
|
|