Created On:  14 March 2012

Problem:

When trying to run ccitcp2 or another Micro Focus application that uses port 86 (for example Enterprise Server) you get a message saying port 86 is in use.

Resolution:

Port 86 is recognized as a standard for Micro Focus.  There is a file called /etc/services that lists ports, and often port 86 is already shown there, populated when the OS is installed, for mfcobol.  Search the file /etc/services for “mfcobol”.  You should find several lines that look similar to this one:

mfcobol                               86/udp                                                 # Micro Focus Cobol


The “86” is the port number.  An available port number needs to be determined, and the 86 changed to this number.  By scrolling to the bottom of the file, you can get an idea of the range of port number assignments.  Port numbers up to 5000 are associated across the industry with one product or another, and you will notice many assignments below 5000.

Assign any unused port number above 5000 for mfcobol, just by overtyping the lines that begin with mfcobol like the one above.  There may be several of them, and you should use the same port number for each one.   You may want to move your overtyped lines to a place in the file where they will still be in numeric sequence with the other entries, in other words to the bottom.

Additional information:

1.        You can use the following UNIX command to check if a particular port number is in use:

 netstat -a | grep