This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes Port Number Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Port Number" Watch "Port Number" New topic
Author

Port Number

Sanjeev Shahi
Ranch Hand

Joined: Feb 26, 2001
Posts: 83
Hi!
Can anyone tell me how to find which port number is assigned?
Thanks,
ss
karl koch
Ranch Hand

Joined: May 25, 2001
Posts: 388
hi,

assigned to what ?
here is a portnumber list for default ports used.

k
Roshan Dehipitiarachchi
Greenhorn

Joined: Dec 11, 2001
Posts: 1
U can write a simple java program which trys to open a server socket on the port number u are interested and if it is assinged an exeption is thrown. U can even do this in a loop so U can check a range of port numbers.
sunhongfeng
Greenhorn

Joined: Dec 12, 2001
Posts: 3
i found in the list:
corba-iiop 683/tcp
iiop 535/tcp
please tell me what the difference between these two?
mark stone
Ranch Hand

Joined: Dec 18, 2001
Posts: 417
can you please send me the code for this. it would be greatly helpful.
thanks
Originally posted by Roshan Dehipitiarachchi:
U can write a simple java program which trys to open a server socket on the port number u are interested and if it is assinged an exeption is thrown. U can even do this in a loop so U can check a range of port numbers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Port Number
 
Similar Threads
WAS 5.1 Oracle 9.1 clash
please help with running this code
Difference between serverName and host name
No printing with Win XP and AirPort Extreme
JBoss Remote Lookup