It is possible to see the TCP port being used from the jcop.exe
process in the debugger, although it is easier to configure it to run on the default port 8050 (it uses a random port by default). It is then possible to open a connection using /term Remote
in the shell. This is explained in the JCOP manuals from integrated in Eclipse help. It may be possible to use /term Remote localhost:[port]
if you are not using the default port, but I may be wrong on the details of the command, as I always use the default port.
[initialy posted in the comments section]