The default SNMP port is 10161. To change this port, use the asadmin set command. Substitute the name of the server instance for server. For example:
asadmin set server.property.snmp-adapter-port=10165 |
You must restart the server for the port change to take effect. You can use the following asadmin commands. Once again, substitute the name of the server instance for server.
asadmin stop-instance server asadmin start-instance server |
For more information about the asadmin set, asadmin stop-instance, and asadmin start-instance commands, see the Sun GlassFish Enterprise Server 2.1 Reference Manual.