File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes General Computing and the fly likes port numbers and IP Address 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 » Engineering » General Computing
Bookmark "port numbers and IP Address" Watch "port numbers and IP Address" New topic

port numbers and IP Address

Gangireddy Danam

Joined: Aug 08, 2012
Posts: 29

How to find particular port number is utilizing or not ..?
I had changed Oracle 10gXE port number from 8080 to 2020.
How to find oracle related services are running with this port number ?
Rajdeep Biswas
Ranch Hand

Joined: Mar 26, 2012
Posts: 185

In Unix,
netstat | grep <port_no>
netstat -a lists all the ports
For more options, type
man netstat

In Windows,
netstat gives all the ports in use.
To find a specific port, say 2020, use
netstat | find "2020"

The biggest gamble will be to ask a question whose answer you know in that it will challenge your theory |
Peter Johnson

Joined: May 14, 2008
Posts: 5772

On Windows, you might also look into tcpview from sysinternals.

JBoss In Action
subject: port numbers and IP Address
Similar Threads
to find prot number dynamically in weblogic6.0
database url explanation?
How do i find the port number of a Resource installed on a machine ?
Oracle8 Personal Edition and jdbc URL
Port Number