Jetson Nano Nsight Eclipse remote debug error

I am trying remote debug using gdb in Nsight Eclipse edition 10.2 from Ubuntu 18.04 LTS computer to jetson-nano board. I am getting error
"Error in final launch sequence
Failed to execute MI command:
-target-select remote
Error message from debugger back end: No route to host.
warning: “remote:” is deprecated, use “target:” instead.
warning: sysroot set to “target://”.
Please help to solve the issue.