BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-24-2007, 05:00 AM   #1 (permalink)
New Member
 
Join Date: Jul 2007
Model: 7100T
PIN: N/A
Carrier: Sprint
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How do I change the debug port on the emulator?

Please Login to Remove!

I got the error message "Attaching to localhost:49581 Connection refused" when I try to debug my project on Netbeans/Blackberry JDE. It seems it tries to connect to port 49581, but can't get a connection. How can I change that to another port? I know this is not a firewall issue, because I have already turned it off.
Offline  
Old 07-24-2007, 06:46 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Jul 2007
Model: 8800
PIN: N/A
Carrier: t-mobile
Posts: 44
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can change the used port at the Debugger.
Start JDWP - switchto the Communications Tab, there you can change the JDWP port. Default is 8000.

The other possibility would be to change the connection port in the netbeans settings.
Offline  
Old 07-24-2007, 12:29 PM   #3 (permalink)
New Member
 
Join Date: Jul 2007
Model: 7100T
PIN: N/A
Carrier: Sprint
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I changed the JDWP port, but it didn't help. How do I change the connection port in the netbeans settings?

I searched in Netbeans help,and the only thing I found related to this was passing the data between the client and server through the Secure Client Protocol (SCP) and setting the SCP port. Has it something to do with this?
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.