How can I determine which ports are in use on machines running Windows XP Pro.

  • Thread starter Thread starter Ted
  • Start date Start date
T

Ted

To configure the servers I use during distributed application
development, I need to know what ports are in use, and by which
applications. I most often run into conflicts involving web servers
and application servers. I do this in an effort to make my code as
agnostic as possible about the servers I'm supporting. I want to
limit, as far as is possible, the impact of the identity of a server
on the source code. This means, of course, heavier reliance on stored
procedures in my RDBMS than on SQL statements embedded in my Java or C+
+ code, for example.

What I normally do is develop with all the servers I support running
on the same machine, and have my applications (Windows forms, ASP.NET
and simple scripts) access them through "localhost". Then, when the
code is ready, I set up the servers on a machine other than my
development machine, and replace "localhost" by the machine name
running the servers for the purposes of tesing distributed aspects of
the app, such as tradeoffs involving the workload of each machine vs
network traffic.

Is there a way to get the information I need, hopefully using
something built into Windows XP itself? For the sake of this
question, you can assume that we're dealing with a tiny intranet with
nothing exposed to the internet, so security is not an issue here.

Thanks

Ted
 
To configure the servers I use during distributed application
development, I need to know what ports are in use, and by which
applications. I most often run into conflicts involving web servers
and application servers. I do this in an effort to make my code as
agnostic as possible about the servers I'm supporting. I want to
limit, as far as is possible, the impact of the identity of a server
on the source code. This means, of course, heavier reliance on stored
procedures in my RDBMS than on SQL statements embedded in my Java or C+
+ code, for example.

What I normally do is develop with all the servers I support running
on the same machine, and have my applications (Windows forms, ASP.NET
and simple scripts) access them through "localhost". Then, when the
code is ready, I set up the servers on a machine other than my
development machine, and replace "localhost" by the machine name
running the servers for the purposes of tesing distributed aspects of
the app, such as tradeoffs involving the workload of each machine vs
network traffic.

Is there a way to get the information I need, hopefully using
something built into Windows XP itself? For the sake of this
question, you can assume that we're dealing with a tiny intranet with
nothing exposed to the internet, so security is not an issue here.

Thanks

Ted

Ted,

TCPView (free) from SysInternals, a Microsoft Division, will provide a running
application x port display. It needs no installation.
<http://nitecruzr.blogspot.com/2005/05/essential-tools-for-desktop-and.html#TCPView>
http://nitecruzr.blogspot.com/2005/05/essential-tools-for-desktop-and.html#TCPView
 
To configure the servers I use during distributed application
development, I need to know what ports are in use, and by which
applications. I most often run into conflicts involving web servers
and application servers. I do this in an effort to make my code as
agnostic as possible about the servers I'm supporting. I want to
limit, as far as is possible, the impact of the identity of a server
on the source code. This means, of course, heavier reliance on stored
procedures in my RDBMS than on SQL statements embedded in my Java or C+
+ code, for example.
What I normally do is develop with all the servers I support running
on the same machine, and have my applications (Windows forms, ASP.NET
and simple scripts) access them through "localhost". Then, when the
code is ready, I set up the servers on a machine other than my
development machine, and replace "localhost" by the machine name
running the servers for the purposes of tesing distributed aspects of
the app, such as tradeoffs involving the workload of each machine vs
network traffic.
Is there a way to get the information I need, hopefully using
something built into Windows XP itself? For the sake of this
question, you can assume that we're dealing with a tiny intranet with
nothing exposed to the internet, so security is not an issue here.

Ted

Ted,

TCPView (free) from SysInternals, a Microsoft Division, will provide a running
application x port display. It needs no installation.
<http://nitecruzr.blogspot.com/2005/05/essential-tools-for-desktop-and...>http://nitecruzr.blogspot.com/2005/05/essential-tools-for-desktop-and...

--
Cheers,
Chuck, MS-MVP [Windows - Networking]http://nitecruzr.blogspot.com/
Paranoia is not a problem, when it's a normal response from experience.
My email is AT DOT
actual address pchuck mvps org.- Hide quoted text -

- Show quoted text -

Thanks Chuck.

Ted
 
Back
Top