How can i simulate SITL over network?

I tried running px4-sitl and jmavsim simulator on same computer(say computer A) and it works fine.
but i want to run jmavsim on an other computer(say computer B, on same network with A)

A(running px4-sitl) ----------------------- B(running jmavsim)

px4-sitl is running in TCP mode (“simulator start -s -c $simulator_tcp_port” in rcS)
I modified, change line "ip=“” to computer A’s IP address, but it not work

is something i missed?