Not able to connect to the debug port

hi ,

i am using IntelijIDEA to build spark using the source code and it is succesful.now i am trying to debug .

  1. how to get smack debug window.

i have enabled

XMPPConnection.DEBUG_ENABLED = true;

and tried smack debug window by pressing F12 i am not able to see any debug window.

2)i tried to debug using the debug option in IntelijIDEA for that i have to mention the host as local host and the port as 8000 which i have mentioned and tried the debug option but it throws an error

Error running spark8000: Unable to open debugger port : java.net.ConnectException "Connection refused: connect

my spark client is in windows machine and openfire server in another linux machine.

need pointers for this problem.