i clarified my post:
i have Machine_A and Machine_B, and want to do this
[on A]
Code:
$ mkfifo F
$ pythonscrip connect localhost port 1212
$ netcat -l -p 1209 < F | netcat MACHINE_B_IP 1313 > F
[on B]
Code:
$ mkfifo F
$ pythonscrip connect localhost port 1212
$ netcat -l -p 1209 < F | netcat MACHINE_A_IP 1313 > F
but i get the error connection refused, running these:
`An Application Keep saying Hello to port 1209` On B : simply running
`netcat -l -p 1209 < F | netcat MACHINE_A_IP 1313 > F` on B : simply running
`telnet MACHINE_B 1313` on A : error: connection refused
i do this in test environment, live arch linux, on virtual machines, no iptables service or firewall running
A is: 192.168.1.10
B is: 192.168.1.20
virtual machines have an internal network, they can ping eachother, they can SSH to each other: which means they are connected,no network problem (i guess)