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)

diagram:
local-network
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 jmavsim_run.sh, change line "ip=“127.0.0.1” to computer A’s IP address, but it not work

is something i missed?