wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "port numbers and IP Address" Watch "port numbers and IP Address" New topic
Author

port numbers and IP Address

Gangireddy Danam
Ranch Hand

Joined: Aug 08, 2012
Posts: 32

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 ?
..ThankYou
Rajdeep Biswas
Ranch Hand

Joined: Mar 26, 2012
Posts: 186

In Unix,
netstat | grep <port_no>
e.g.
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 | www.TechAspire.blogspot.in
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

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


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