Service Virtualization

 View Only

Tuesday Tips: What Ports are Open via DevTest Components?

  • 1.  Tuesday Tips: What Ports are Open via DevTest Components?

    Broadcom Employee
    Posted Apr 27, 2015 02:39 PM

    If you have been given the task of determining what Ports are open via DevTest, either for a new environment or Security reasons, you would first turn to the documentation for the version that you are working with.  However, that may not show ALL the ports that are open.  To help you see all the ports that DevTest opens, you could perform a command line command (Windows in this example) before you open any DevTest Solution components, “netstat –ab | PortsBefore.txt” and then open all the DevTest Solution components.  Once all the DevTest Components are successfully instantiated,  you can do a “netstat –ab | PortsAfter.txt”.  Once you have the before and after text files,  do a diff on the two text files.  You will notice quite a few ports are now open and assigned to the various DevTest Solution Components.

     

    Almost all of these ports are documented in our documentation.  As an example, here is a link to our 8.0.1 documentation describing our default port numbers:

    https://wiki.ca.com/display/DTS801/Default+Port+Numbers.

     

    You will notice some other ports that are not listed.  These are typically high number such as “TCP ports listening on 50871 and established on TCP <<YOUR_IP_ADDE>>:50950, 50591, 50592, 50953, 50954, 50955,..., 50974”.  These ports are referred to as Ephemeral Ports.  As with any socket communication, ephemeral ports will be consumed as necessary when local endpoints are created.  In Windows, they are cycled through until there are not any left and then the “pool” of numbers are started at the beginning again.  If one is in use, it is skipped and the next one is used if available.  These ports are not easily documented because they are different per OS AND they can be assigned by the System Administrator to be whatever they want the port range to be. 

     

    To determine what your ephemeral ports are, please consult your SysAdmin.  If you are working with a cloud solution (like AWS), please communicate with your cloud admin to find out the range of ephemeral ports that are required to communicate with services in your cloud.

     

    For more information on ephemeral ports, please review this link - http://www.ncftp.com/ncftpd/doc/misc/ephemeral_ports.html as provided by Dave in Support.

     

    Please note, any third party link may become invalid as CA has no control over third party links.