BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 04-26-2007, 01:02 PM   #1 (permalink)
Knows Where the Search Button Is
 
Inox's Avatar
 
Join Date: Apr 2005
Location: City of all things dark : New York
Model: 8100
PIN: 23E49A1E
Carrier: t-mobile
Posts: 16
Post Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Looking for info on ports

Please Login to Remove!

Hmm...Maybe I'm wording my searches wrong. Couldn't spot anything on point with what I was looking for. I was curious as to how to locate what ports are in use and which are free. Also, how to go about manually assigning ports for different applications. Any takers?

Last edited by Inox : 04-26-2007 at 01:05 PM. Reason: err...spelling...again.
Offline  
Old 04-26-2007, 01:08 PM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Apr 2006
Model: 8703e
Carrier: Sprint
Posts: 121
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

open/available ports vary from carrier to carrier. you would need to edit the application's .cod file to use a specific port. are you a developer?
Offline  
Old 04-26-2007, 08:08 PM   #3 (permalink)
Thumbs Must Hurt
 
jhoetzl's Avatar
 
Join Date: Feb 2007
Location: Central, NJ
Model: 8320
Carrier: T-Mobile
Posts: 116
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Settings - Advanced -> Host routing table - select an entry - look at ports near the top in there...

OR.....

Not sure which/where ports you are after - but...

netstat -a from a command line

Displays protocol statistics and current TCP/IP network connections.
NETSTAT [-a] [-b] [-e] [-n] [-o] [-p proto] [-r] [-s] [-v] [interval]

-a Displays all connections and listening ports.
-b Displays the executable involved in creating each connection or
listening port. In some cases well-known executables host
multiple independent components, and in these cases the
sequence of components involved in creating the connection
or listening port is displayed. In this case the executable
name is in [] at the bottom, on top is the component it called,
and so forth until TCP/IP was reached. Note that this option
can be time-consuming and will fail unless you have sufficient
permissions.
-e Displays Ethernet statistics. This may be combined with the -s
option.
-n Displays addresses and port numbers in numerical form.
-o Displays the owning process ID associated with each connection.
-p proto Shows connections for the protocol specified by proto; proto
may be any of: TCP, UDP, TCPv6, or UDPv6. If used with the -s
option to display per-protocol statistics, proto may be any of:
IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
-r Displays the routing table.
-s Displays per-protocol statistics. By default, statistics are
shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;
the -p option may be used to specify a subset of the default.
-v When used in conjunction with -b, will display sequence of
components involved in creating the connection or listening
port for all executables.
interval Redisplays selected statistics, pausing interval seconds
between each display. Press CTRL+C to stop redisplaying
statistics. If omitted, netstat will print the current
configuration information once.



or

Active Ports

or any other program like it...
__________________

Current Device: 8320 OS: 4.2.2.338
Previous Device: 8100 OS: 4.2.1.107
BES v4.1.5/Notes 7.0.2

Last edited by jhoetzl : 04-26-2007 at 08:09 PM.
Offline  
Old 04-27-2007, 07:00 PM   #4 (permalink)
Knows Where the Search Button Is
 
Inox's Avatar
 
Join Date: Apr 2005
Location: City of all things dark : New York
Model: 8100
PIN: 23E49A1E
Carrier: t-mobile
Posts: 16
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default sweet!

Sweet! Thanx jhoetzl. That is really helpful. Now that I now what the language is called, I can soak it up. Just to make sure I'm clear here, this is java you're talking about right? Or is it GNU GPL?

Last edited by Inox : 04-27-2007 at 07:32 PM.
Offline  
Old 04-27-2007, 07:09 PM   #5 (permalink)
Knows Where the Search Button Is
 
Inox's Avatar
 
Join Date: Apr 2005
Location: City of all things dark : New York
Model: 8100
PIN: 23E49A1E
Carrier: t-mobile
Posts: 16
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default developer

Thanx to you too. Nsquark. Well, I make no claims. I'm a drop out actually. Never stopped reading though. I'm pretty good with linux and toyed with pearl a lot. This will be my first with java or going into one of these devices as well. I'm getting the itch again so I'm really trying to get back into learning other languages and maybe even throw a couple of items out there in the future.

Last edited by Inox : 04-27-2007 at 07:11 PM.
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.