TCP/IP Port Availability

R

Roger Bullock

I have some software that requires that three TCP/IP ports
are available. How can I verify that these ports are not
blocked on my server before I Install the software.
 
M

Marc Reynolds [MSFT]

You can run netstat -an to find out what ports you computer is listening on.
You can also run tcpview from www.systinernals.com to find out the service
or app using the port.

--

Thanks,
Marc Reynolds
Microsoft Technical Support

This posting is provided "AS IS" with no warranties, and confers no rights.
 
R

Roger Bullock

Doesn't that require that the software is installed and
running? I need to know if the port is available.
 
N

nut cracker

If you are not smart enough to see the value of the absoluely perfect
answers you have been given already, you are not smart enough to install the
software, or to use computers. You may be better suited as a man servant, or
gardener.

NuTs
 
R

Roger Bullock

I do not understand why you are so upset. I am sorry if I
said something derogatory to, or about you. My problem is
that the software manufacturer says that one or more of
the ports required for the software are blocked by some
security policy. I need to find out if this is true. The
software will not run under the current conditions, so I
cannot look at the ports to see if it is using them
because it will not install correctly. I do not believe
that there is any policy interfering with the ports, but I
need to find out.
 
N

nut cracker

The MVP suggested that you use the netstat command, and you balked at this.

if you open a command prompt (start, run, cmd.exe, ok), you will see a black
box.
if you type, " netstat -an " (without the quotes), and press return/enter,
you will see a list of numbers:

Proto Local Address Foreign Address State
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1025 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1053 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1066 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1069 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1078 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1081 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1082 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1083 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1231 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1547 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1548 0.0.0.0:0 LISTENING
TCP 0.0.0.0:5000 0.0.0.0:0 LISTENING

This is a partial list.

If your application requires that port 1186 be avilable, you can see from
the information above, that there is nothing already listening on that port
(IPAddress:port). The port is free, and available for your application to
use.

Does this make sense now?

NuTs
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top