How to detect usable ports?

I have 4 unix machines two with webservers and two with app servers, with the app servers then connecting to backend databases and other third party server processes.

I need to write an email to the firewall team asking them to open and allow all the ports that are used for traffic / data flow inwards and outwards on these 4 unix systems for a new set of similar 4 servers we will be migrating this entire environment to.

What is the easy and feasible way; i can find all active ports on these 4 servers so i can request firewall team to open them on a new set of 4 servers we are migrating our applications to.

Please suggest.

Hi,

Probably the quickest and easiest way would be to run nmap or zenmap or something similar against the servers, from that you could build a composite port list.

It would also allow you to identify ports that you don't need to have open.

Without OS specifics it's not easy to be more precise on htat front.

Additionally you should be aware that the application/database may have specific port requirements that may have to be considered.

Regards

Gull04

 
$ uname -a
SunOS mymac 5.10 Generic_150400-23 sun4v sparc sun4v