ANR1820E
The server could not connect to the database manager by using TCP/IP port port number.

Explanation

The server attempted to connect to the database by using TCP/IP, but it was not able to do so.

System action

The server stops.

User response

First, verify that the port number is not already in use. Possible methods include:

If a conflict is detected, specify a different port number on the DBMTCPPORT option in the server options file and restart the server.

If no conflict is found, use the "db2 get database manager config" command to verify that the SVCENAME configuration parameter is set to the port number identified by the message. If not, then use the "db2 update database manager config using SVCENAME port number" command to manually update the configuration parameter. Ensure that the value specified is also specified on the DBMTCPPORT server option. Restart the server.

Finally, use the "db2set" command to verify that the DB2COMM environment variable is set to "TCPIP". If not, then use the "db2set DB2COMM=TCPIP" command to set the environment variable and restart the server.