This is an academic not practical question, but I would like to know what is missing from the following scenario:
Server 1 (192.168.1.8):
nohup socat tcp-listen:3344,reuseaddr,fork tcp:192.168.1.63:9012 &
nohup socat tcp-listen:6687,reuseaddr,fork tcp:192.168.1.63:8880 &
Server 2 (192.168.1.63):
nohup socat tcp-listen:9012,reuseaddr,fork tcp:192.168.1.8:6687 &
I have a webserver on Server 2 at 8880, so I try from server one to hit it with localhost:3344 (server1:3344 -> server2:9012 -> server1:6687 -> server2:8880) but it hangs.
I can hit it with Telnet but it doesn’t return data, can someone point out what’s missing? Fairly new to this and would like to know what’s going on/wrong here