how to find local port number [Resolved]

Posted by Yugandhar under Others on 11/17/2012 | Points: 10 | Views : 9152 | Status : [Member] | Replies : 2
how to find system local port number to connect proxy server through java code
or
can we find generally which one is our local port number ( this is also welcome)




Responses

Posted by: Krv on: 11/19/2012 [Member] Starter | Points: 50

Up
0
Down

Resolved
You can use
netstat
in cmd prompt to view the list of port used for applications

Thanks,
R.Vasanth
MCTS(SQL Server & BI)
http://bigdatatech.blogspot.com

Yugandhar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sravya on: 11/20/2012 [Member] Starter | Points: 25

Up
0
Down

Please refer this below link..It may help
http://en.allexperts.com/q/Java-1046/2012/1/using-getlocalport-method.htm

With Regards,
sravya.

Yugandhar, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response