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 Java Interview Guide this week in the Jobs Discussion 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
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 ?
Rajdeep Biswas
Ranch Hand

Joined: Mar 26, 2012
Posts: 187

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: 5852

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

JBoss In Action
I agree. Here's the link:
subject: port numbers and IP Address
It's not a secret anymore!