Author Topic: Simple Port Tester - Help required  (Read 6966 times)

0 Members and 1 Guest are viewing this topic.

Offline ushabala03

  • PcWinTech Jr. Member
  • Join Date: Sep 2010
  • Posts: 1
  • Karma: 0
Simple Port Tester - Help required
« on: September 29, 2010, 03:09:13 AM »
I Used the Simple Port Tester to monitor a particular range of ports.After a fresh restart of the machine when the SPT tool is run and checked the status of ports from 5001-5032,it showed "Listening" while scanning and then showed blank under status( this is ok )

When we run our customer application and then run SPT tool to monitor the same range of ports,it shows "Ports in use","Cannot find the program which is using the port...."  From the taskmanager or from netstat and other port monitoring utilities i am not able to find out which is using these ports.Can you please help me in finding which application is using the ports?Does it mean our customer application is reserving this range of ports?If so how to /where to find this reservation?We have been struggling with this for a long time.Any help is appreciated.........
Usha Forums

Simple Port Tester - Help required
« on: September 29, 2010, 03:09:13 AM »

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: Simple Port Tester - Help required
« Reply #1 on: September 29, 2010, 06:44:31 AM »
The program, as you can tell, opens the ports to listen on them. If another program is using the port then the program informs you.

I know you already know this, I just woke up lol.

Anyways try this, open a cmd window and type in netstat -a -b

Displays protocol statistics and current TCP/IP network connections.

NETSTAT [-a] [-b] [-e] [-f] [-n] [-o] [-p proto] [-r] [-s] [-t] [interval]

  -a            Displays all connections and listening ports.
  -b            Displays the executable involved in creating each connection or
                listening port. In some cases well-known executables host
                multiple independent components, and in these cases the
                sequence of components involved in creating the connection
                or listening port is displayed. In this case the executable
                name is in [] at the bottom, on top is the component it called,
                and so forth until TCP/IP was reached. Note that this option
                can be time-consuming and will fail unless you have sufficient
  -e            Displays Ethernet statistics. This may be combined with the -s
  -f            Displays Fully Qualified Domain Names (FQDN) for foreign
  -n            Displays addresses and port numbers in numerical form.
  -o            Displays the owning process ID associated with each connection.
  -p proto      Shows connections for the protocol specified by proto; proto
                may be any of: TCP, UDP, TCPv6, or UDPv6.  If used with the -s
                option to display per-protocol statistics, proto may be any of:
                IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
  -r            Displays the routing table.
  -s            Displays per-protocol statistics.  By default, statistics are
                shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;
                the -p option may be used to specify a subset of the default.
  -t            Displays the current connection offload state.
  interval      Redisplays selected statistics, pausing interval seconds
                between each display.  Press CTRL+C to stop redisplaying
                statistics.  If omitted, netstat will print the current
                configuration information once.

the -a will show everything, you should see what is on there using it. -b will show you the program using the port  :wink:

(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: & Forums

Re: Simple Port Tester - Help required
« Reply #1 on: September 29, 2010, 06:44:31 AM »